Doubling of separator
opened this issue · comments
Deleted user commented
Hi! When I try to align something looking like this:
1 a 2 b 3
11 a 22 b 33
with expression (a|b) I get as result:
1 a a 2 b b 3
11 a a 22 b b 33
Is this a bug? I need this for alignment some sql expressions.
Deleted user commented
I'am sorry. Following recomendation to use non-capturing parenthese (?:a|b) solves this issue.
Randy Lai commented
actually, you don't have to do the parenthesis, just a|b
will be okay.