Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Question regarding: aba, ab then a but then for that a, there is no match for the contained subexpression within the string matched by the containing subexpression, so \2 won't match. Is there no match for the contained subexpression or is it an empty match? <asterisk> it shall match what zero or more consecutive occurrences of the BRE would match Commented 3 hours ago
  • 1
    @becke-ch, there's no match. It's not \(b*\) where b* would match an empty string, its \(b\)*, where b doesn't match. Commented 3 hours ago