Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 1 | Source: a*b\*c |
| 2 | Replace str: _\\_\z_ |
| 3 | Pattern: single backslash and star: "replace literal star" |
Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 4 | Unquoted: a_\_z_b\*c |
Denys Vlasenko | c49d2d9 | 2010-09-06 10:26:37 +0200 | [diff] [blame] | 5 | Unquoted =: a_\_z_b\*c |
Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 6 | Quoted: a_\_\z_b\*c |
Denys Vlasenko | c49d2d9 | 2010-09-06 10:26:37 +0200 | [diff] [blame] | 7 | Quoted =: a_\_\z_b\*c |
Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 8 | Pattern: double backslash and star: "replace backslash and everything after it" |
Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 9 | Unquoted: a*b_\_z_ |
Denys Vlasenko | c49d2d9 | 2010-09-06 10:26:37 +0200 | [diff] [blame] | 10 | Unquoted =: a*b_\_z_ |
Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 11 | Quoted: a*b_\_\z_ |
Denys Vlasenko | c49d2d9 | 2010-09-06 10:26:37 +0200 | [diff] [blame] | 12 | Quoted =: a*b_\_\z_ |
Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 13 | |
| 14 | Source: a\bc |
| 15 | Replace str: _\\_\z_ |
| 16 | Pattern: single backslash and b: "replace b" |
Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 17 | Unquoted: a\_\_z_c |
Denys Vlasenko | c49d2d9 | 2010-09-06 10:26:37 +0200 | [diff] [blame] | 18 | Unquoted =: a\_\_z_c |
Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 19 | Quoted: a\_\_\z_c |
Denys Vlasenko | c49d2d9 | 2010-09-06 10:26:37 +0200 | [diff] [blame] | 20 | Quoted =: a\_\_\z_c |
Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 21 | Pattern: double backslash and b: "replace backslash and b" |
Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 22 | Unquoted: a_\_z_c |
Denys Vlasenko | c49d2d9 | 2010-09-06 10:26:37 +0200 | [diff] [blame] | 23 | Unquoted =: a_\_z_c |
Denys Vlasenko | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 24 | Quoted: a_\_\z_c |
Denys Vlasenko | c49d2d9 | 2010-09-06 10:26:37 +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 | 36f774a | 2010-09-05 14:45:38 +0200 | [diff] [blame] | 39 | |
| 40 | Done: 0 |