Skip to content
This repository was archived by the owner on Jun 6, 2018. It is now read-only.

is there support for regex flags, especially extended (/x) to paste verbose formatted regex? #48

Open
spex66 opened this issue Mar 27, 2018 · 2 comments

Comments

@spex66
Copy link

spex66 commented Mar 27, 2018

I like to write my complex regex in "verbose" style, which corresponds to the /x flag.
Is there support for pasting multiline formatted regex already?

Right now, all I can see is that "Display" renders a lot of line feed (0x0A).

Hope that is not too tricky?
Thx for an awesome service!

@javallone
Copy link
Owner

Flags are supported by using /expression/flags. Currently Regexper only support JavaScript-flavored regular expression syntax though, so the only flags it recognizes are g, i, m, y, and y. I am working on a re-write with plans on supporting other regex flavors, but don't have any firm plans on when that will be available.

@spex66
Copy link
Author

spex66 commented Mar 27, 2018

thx for the quick feedback and explanation!

Wasn't even aware that JS regex has no support for x flag :)
FYI: Found one with extended flag support => http://xregexp.com/flags/

you can close the issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants