bennypowers / nvim-regexplainer

Describe the regexp under the cursor
627 stars 7 forks source link

Backreferences #37

Open bennypowers opened 1 year ago

bennypowers commented 1 year ago
/(['"]).*?\1/g

EXPECTED:

capture group 1:
> One of `'`, or `"`
**ANY** (_>= 0x_) (_lazy_)
(capture group 1)

ACTUAL:

capture group 1:
> One of `'`, or `"`
**ANY** (_>= 0x_) (_lazy_)
`1`