Skip to content

Lookbehind regexes don't work in Safari #10

Description

@ronaldtse

For Safari compatibility we need to convert the lookbehind regexes (or via another mechanism) in some interscript maps to non-lookbehind.

UPDATE: Looks like this works: http://blog.stevenlevithan.com/archives/javascript-regex-lookbehind (which uses https://github.com/slevithan/xregexp)

Ref:

Some systems like the following will generate an error:

Screen Shot 2020-09-01 at 4 51 27 PM

image

The reason is:

image

Specifically:

image

These systems specifically contain these rules that can't be run without lookbehind:

  • alalc-bul-cyrl-latn-1997
  • alalc-srp-cyrl-latn-2013
  • alalc-mkd-cyrl-latn-2013
  • bgnpcgn-mkd-cyrl-latn-1981
  • bgnpcgn-mkd-cyrl-latn-2013
  • bgnpcgn-ukr-cyrl-latn-2019
  • by-bel-cyrl-latn-1998
  • gki-bel-cyrl-latn-2000
  • mvd-rus-cyrl-latn-2008
  • mvd-bel-cyrl-latn-2010
  • odni-rus-cyrl-latn-2015
  • stategeocadastre-ukr-cyrl-latn-1993
  • un-bel-cyrl-latn-2007

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions