Regex replacement bug with accent char? (v7.1.0)
Posted: Fri Mar 07, 2014 4:37 am
Could someone please try this regex replacement, and tell me if they have success?
Take this paragraph:
And try to replace this: `\b(\w+)`\b
With this: <CODE>$1</CODE>
It works with replace-all, but I can't get it to work with replace-next. It does nothing. Escaping the accents doesn't match anything.
Am I missing something here?
Take this paragraph:
Code: Select all
The value of each position is retrieved by `pos.getValue()` or `pos.isPath()`--I think `1` is a "wall" and `0` is the "path". (As an aside: The huge 2d-array should really contain one-bit `booleans`, instead of 4-byte `ints`, but *looking* at the array's code makes sense with `int`s, and doesn't with booleans... Note that it should at least be changed to `byte`s.)With this: <CODE>$1</CODE>
It works with replace-all, but I can't get it to work with replace-next. It does nothing. Escaping the accents doesn't match anything.
Am I missing something here?