Is there an *efficient* way to simply test whether a given string contains a given regex in the new std.regex? Using match() and testing for empty works, but this apparently triggers a bunch of unnecessary heap allocation. If not, is this a universal enough feature to warrant an enhancement request?
- New regex: Find? dsimcha
- Re: New regex: Find? Derek Parnell
- Re: New regex: Find? Andrei Alexandrescu
- Re: New regex: Find? Derek Parnell
- Re: New regex: Find? Andrei Alexandrescu
- Re: New regex: Find? Derek Parnell
- Re: New regex: Find? Georg Wrede
- Re: New regex: Find? Joel C. Salomon
- Re: New regex: Find? dsimcha
- Re: New regex: Find? Andrei Alexandrescu