AlignTab icon indicating copy to clipboard operation
AlignTab copied to clipboard

Regex Example

Open melMass opened this issue 7 years ago • 3 comments

Can you provide examples for using the Regex function ?

I don't get what is to be "selected" by the expression neither how. From reading the readme I can't work it out.

For instance I'm looking to align by brackets:

a { aaaa } b { bbbb } c { cccc }


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

melMass avatar Mar 30 '17 00:03 melMass

I guess you just need the regex {|}

randy3k avatar Mar 30 '17 01:03 randy3k

Hi, @randy3k

Could you help me with this:

abc            - qwe
foo    - bar

I tried \- regexp, but it's not working. Thanks in advance

adis-io avatar Jan 08 '18 08:01 adis-io

Update: it was , not dash. Sorry

adis-io avatar Jan 08 '18 08:01 adis-io