0

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?

Max Koretskyi
  • 101,079
  • 60
  • 333
  • 488

1 Answers1

1

How about using square brackets instead of parens like: [ab]ll ?