Highlighting regex capture groups in notepad++? -


as of if regex 'find , replace' in notepad++ highlights entire search parameter normal text 'find'.

would possible have highlight capture groups in different color can identify i'm capturing in regex?

for example, if wanted match: print 'foo.' capture foo replace string, ^print '(\w+).'$ highlight entire line in grey.

i'd highlight in grey, highlight foo in red, example, designate captured rather replacing , undo-ing if happened capture wrong thing. each capture group highlighted in different color, maybe blend colors if captured in multiple groups, obv simpler captures. possible in npp?

for moment there no such plugin, try testing site: https://regex101.com/ shows lot of information matches.

or install regexbuddy http://www.regexbuddy.com/demotest.html. can simple test there , switch notepad++.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -