Skip to content

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

Open

Description

@haozhun

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?

Activity

  1. headius commented on Mar 16, 2015

    @headius
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions