Suppose I have a task to search for words that start with either a
or b
, for example all
or bll
words. I know I can use grouping and or
operator like this:
(a|b)ll
But this creates a capturing group. Are there any other options?
Suppose I have a task to search for words that start with either a
or b
, for example all
or bll
words. I know I can use grouping and or
operator like this:
(a|b)ll
But this creates a capturing group. Are there any other options?