How to replace pairs tags with regexp

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 21 00:08:34 PDT 2017


On Friday, 21 July 2017 at 06:19:43 UTC, Suliman wrote:
> There reason of issue above is spaces before "#".

What wrong with next regex https://dpaste.dzfl.pl/024a47ed2a56

I expect that it will select:

#Header
my header text

##SubHeader
my sub header text

Because: ^#{3}


More information about the Digitalmars-d-learn mailing list