Poor regex performance?

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Apr 4 13:54:00 UTC 2019


On Thu, Apr 04, 2019 at 09:53:06AM +0000, Julian via Digitalmars-d-learn wrote:
[...]
>           auto re = ctRegex!(r"(?:\S+ ){3,4}<= ([^@]+@(\S+))");
[...]

ctRegex is a crock; use regex() instead and it might actually work
better.


T

-- 
Stop staring at me like that! It's offens... no, you'll hurt your eyes!


More information about the Digitalmars-d-learn mailing list