stefankueng / grepWin

A powerful and fast search tool using regular expressions
https://tools.stefankueng.com/grepWin.html
GNU General Public License v3.0
1.74k stars 180 forks source link

F1 (Regex Help) doesn't state or show the flavor but claims that it does #346

Closed zb-z closed 1 year ago

zb-z commented 1 year ago

The help text states "it's here only to show the flavor of the used regex" but it actually doesn't either state the regex flavor nor it has examples that would allow user to identify the flavor used.

When I saw it I thought that it's some 300 yrs old faux regex syntax not worth 5 ns :-) Not even grouping. There are some very old libraries with such crippled "regexes".

So, maybe at least to declare that is uses Boost regex, perl flavor (or other flavor if it uses some other).

And to have an example with parenthesis and one with non-greedy quantifier - that will be enough to immediately show that you have grouping and non-greedy => something at least moderately modern. It would also be good to add example with | and | and (,) combined.

Maybe a single example like: X-(Q(a|B)+?)=Y to show that it can nest groups and combine | and parenthesis