Commit 66c306a
committed
tools.compile_rule: better whitespace handling for
If the placeholder is followed by a space, replace it with a pattern
that will consume extra whitespace but doesn't require any.
If the placeholder is NOT followed by a space, use the original pattern
that requires at least one space to match.$nick placeholder1 parent ee3fcb2 commit 66c306a
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
| 218 | + | |
218 | 219 | | |
219 | | - | |
| 220 | + | |
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| |||
0 commit comments