summaryrefslogtreecommitdiff
path: root/src/regexp.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp.zig')
-rw-r--r--src/regexp.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp.zig b/src/regexp.zig
index 64e1d75a..27b3c0ba 100644
--- a/src/regexp.zig
+++ b/src/regexp.zig
@@ -41,7 +41,7 @@ pub const Regex = struct {
/// patterns take 45-80 ms, and a Debug build is ten times slower.
pub const budget: u64 = if (builtin.mode == .Debug) 4_000_000 else 32_000_000;
- pub const e_anchor = "in a pattern with \\n, ^ can only come first and $ only just before a \\n";
+ pub const e_anchor = "bad regular expression: in a pattern with \\n, ^ can only come first and $ only just before a \\n";
/// `Anchor`: a pattern that names a newline has `^` other than first,
/// or `$` other than just before a `\n`, which mvzr would read as the