I want to use round brackets for using logical operators, but without making a group for matching.
I’ll explain with an example:
/(synn|pack)\sRim.*?vert(\s\d*cm|\d*cm)/
The first group is (synn|pack)
. How can I make it OR
without making it a group, so than in this regex I'll have only one group (\s\d*cm|\d*cm)
?