|
|
|
|
|
by wizofaus
1018 days ago
|
|
Isn't that just ((a|b)?(c|d)|c|d)?foo
Unless you mean it as a search expression, in which case it's more like ((.*a|.*b)(c|d)|c|d)?foo
Which I have to admit was a lot harder to figure out than I thought it would be (and may not even be right!) |
|
In an engine supporting ^ and $, searching for this
is equivalent to searching for this And in this context you can drop the leading/trailing ^/$ since they are implicit.