updated for version 7.3.1133
Problem: New regexp engine is a bit slow.
Solution: Skip ahead to a character that must match. Don't try matching a
"^" patter past the start of line.
diff --git a/src/regexp.h b/src/regexp.h
index 4841cd3..9fcd48a 100644
--- a/src/regexp.h
+++ b/src/regexp.h
@@ -87,6 +87,10 @@
unsigned regflags;
nfa_state_T *start; /* points into state[] */
+
+ int reganch; /* pattern starts with ^ */
+ int regstart; /* char at start of pattern */
+
int has_zend; /* pattern contains \ze */
int has_backref; /* pattern contains \1 .. \9 */
#ifdef FEAT_SYN_HL