Skip to content

inconsistency regression tests#930

Open
CrowdHailer wants to merge 1 commit into
gleam-lang:mainfrom
CrowdHailer:string-consistency
Open

inconsistency regression tests#930
CrowdHailer wants to merge 1 commit into
gleam-lang:mainfrom
CrowdHailer:string-consistency

Conversation

@CrowdHailer
Copy link
Copy Markdown
Contributor

All of these tests behave differently on the BEAM and JavaScript runtimes.
I'm not sure what the correct behaviour is. Happy to work on the fix if we decide what correct behavour is.
I think the choice is really the erl or js implementation.
erl seems to mostly error when given an empty string pattern. js considers empty pattern to match every grapheme gap.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant