in reply to Regex with lookahead
I used(?=.*(?<Flatten>\bFlatten\b))?
I may not be understanding lookahead syntax but it seems like the ".*" would match anything(?:\\s*,\\s*(?P<Flatten>\\bFlatten\\b))?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex with lookahead
by tybalt89 (Monsignor) on Aug 04, 2017 at 20:56 UTC | |
by stevieb (Canon) on Aug 05, 2017 at 01:29 UTC | |
by Your Mother (Archbishop) on Aug 05, 2017 at 17:50 UTC | |
by stevieb (Canon) on Aug 05, 2017 at 20:20 UTC |