Skip to content

EMOJI_REGEX exception on JRuby #35

@Arvinje

Description

@Arvinje

I tried to use the gem on Jruby 9.0.5.0, but got the following error as soon as I required it:

RegexpError: (RegexpError) invalid pattern in look-behind: /(?<=(?-mix:[������-��-��-��-�����-����-��-����-����-����-������-��-��-��-�����-�������-�������-�����-����-���⤴-⤵�-��-����������-��-���-��-��-����-��-����-��-��-��-��-��-��-��-��-��-���-��-��-��-��-��-��-��-���]))(?=\S)/ from /Users/*****/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/pragmatic_tokenizer-3.0.4/lib/pragmatic_tokenizer/languages/common.rb:14:inmodule:Common'`

Looks like it has something to do with EMOJI_REGEX. BTW, there's no error when using the latest MRI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions