Confusion with Atomic Grouping – how it differs from the Grouping in regular expression of Ruby?
A () has some properties (include those such as (?!pattern), (?=pattern), etc. and the plain (pattern)), but the common property between all of them is grouping, which makes the arbitrary pattern a single unit (unit is my own terminology), which is useful in repetition. The normal capturing (pattern) has the property of capturing and group. …