joni icon indicating copy to clipboard operation
joni copied to clipboard

joni interprets `[\w-#]` as `[ !"#0-9A-Z_a-z]`

Open haozhun opened this issue 10 years ago • 1 comments

Joni interprets [\w-#] as [ !"#0-9A-Z_a-z] in both default syntax and Java syntax. Java Pattern interprets it as [-0-9A-Z_a-z].

An addition question: in general, is it considered a bug if interpretation doesn't match Java pattern when syntax is set to Java?

haozhun avatar Mar 05 '15 22:03 haozhun

Yes, if the Java dialect does not match Java pattern behavior, we should fix that.

headius avatar Mar 16 '15 16:03 headius