Skip to content

Commit

Permalink
Merge pull request #1745 from 9rnsr/fix11671
Browse files Browse the repository at this point in the history
Issue 11671 - ctRegex broken
  • Loading branch information
monarchdodra authored and 9rnsr committed Dec 9, 2013
1 parent 761dd24 commit d1800fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/regex.d
Expand Up @@ -5869,7 +5869,7 @@ template ctRegexImpl(alias pattern, string flags=[])
pattern = Regular expression
flags = The _attributes (g, i, m and x accepted)
+/
enum ctRegex(alias pattern, alias flags=[]) = ctRegexImpl!(pattern, flags).nr;
public enum ctRegex(alias pattern, alias flags=[]) = ctRegexImpl!(pattern, flags).nr;

enum isRegexFor(RegEx, R) = is(RegEx == Regex!(BasicElementOf!R))
|| is(RegEx == StaticRegex!(BasicElementOf!R));
Expand Down

0 comments on commit d1800fe

Please sign in to comment.