Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 1 | Source: a*b\*c |
| 2 | Replace str: _\\_\z_ |
| 3 | Pattern: single backslash and star: "replace literal star" |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 4 | Unquoted: a_\_z_b\*c |
Denys Vlasenko | e3354bc | 2016-10-02 18:08:04 +0200 | [diff] [blame^] | 5 | Unquoted =: a_\_z_b\*c |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 6 | Quoted: a_\_\z_b\*c |
Denys Vlasenko | e3354bc | 2016-10-02 18:08:04 +0200 | [diff] [blame^] | 7 | Quoted =: a_\_\z_b\*c |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 8 | Pattern: double backslash and star: "replace backslash and everything after it" |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 9 | Unquoted: a*b_\_z_ |
Denys Vlasenko | e3354bc | 2016-10-02 18:08:04 +0200 | [diff] [blame^] | 10 | Unquoted =: a*b_\_z_ |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 11 | Quoted: a*b_\_\z_ |
Denys Vlasenko | e3354bc | 2016-10-02 18:08:04 +0200 | [diff] [blame^] | 12 | Quoted =: a*b_\_\z_ |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 13 | |
| 14 | Source: a\bc |
| 15 | Replace str: _\\_\z_ |
Denys Vlasenko | 33bbb27 | 2010-08-07 22:24:36 +0200 | [diff] [blame] | 16 | Pattern: single backslash and b: "replace b" |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 17 | Unquoted: a\_\_z_c |
Denys Vlasenko | e3354bc | 2016-10-02 18:08:04 +0200 | [diff] [blame^] | 18 | Unquoted =: a\_\_z_c |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 19 | Quoted: a\_\_\z_c |
Denys Vlasenko | e3354bc | 2016-10-02 18:08:04 +0200 | [diff] [blame^] | 20 | Quoted =: a\_\_\z_c |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 21 | Pattern: double backslash and b: "replace backslash and b" |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 22 | Unquoted: a_\_z_c |
Denys Vlasenko | e3354bc | 2016-10-02 18:08:04 +0200 | [diff] [blame^] | 23 | Unquoted =: a_\_z_c |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 24 | Quoted: a_\_\z_c |
Denys Vlasenko | e3354bc | 2016-10-02 18:08:04 +0200 | [diff] [blame^] | 25 | Quoted =: a_\_\z_c |
| 26 | |
| 27 | Source: a\bc |
| 28 | Replace str: _\\_\z_ (as variable $s) |
| 29 | Pattern: single backslash and b: "replace b" |
| 30 | Unquoted: a\_\\_\z_c |
| 31 | Unquoted =: a\_\\_\z_c |
| 32 | Quoted: a\_\\_\z_c |
| 33 | Quoted =: a\_\\_\z_c |
| 34 | Pattern: double backslash and b: "replace backslash and b" |
| 35 | Unquoted: a_\\_\z_c |
| 36 | Unquoted =: a_\\_\z_c |
| 37 | Quoted: a_\\_\z_c |
| 38 | Quoted =: a_\\_\z_c |
Denys Vlasenko | f56fe82 | 2010-08-06 17:21:52 +0200 | [diff] [blame] | 39 | |
Denys Vlasenko | b0fbe4b | 2010-08-05 17:19:27 +0200 | [diff] [blame] | 40 | Done: 0 |