summaryrefslogtreecommitdiffstats
path: root/generic/regcomp.c
diff options
context:
space:
mode:
authorstanton <stanton>1999-06-17 19:30:25 (GMT)
committerstanton <stanton>1999-06-17 19:30:25 (GMT)
commit36fade5673a2b490fdbcdb5e782dcd8c906304d2 (patch)
tree12cb78e0f616e3bb360eafc126717bad52f22606 /generic/regcomp.c
parente544512a2dd0604f3824a9f9532fe64b4d30606c (diff)
downloadtcl-36fade5673a2b490fdbcdb5e782dcd8c906304d2.zip
tcl-36fade5673a2b490fdbcdb5e782dcd8c906304d2.tar.gz
tcl-36fade5673a2b490fdbcdb5e782dcd8c906304d2.tar.bz2
* generic/regcomp.c: lint
* tests/reg.test: * generic/regex.h: * generic/regc_lex.c: Added REG_BOSONLY flag to allow Expect to iterate through a string an only find matches that start at the current position within the string.
Diffstat (limited to 'generic/regcomp.c')
-rw-r--r--generic/regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regcomp.c b/generic/regcomp.c
index 26b937e..b292012 100644
--- a/generic/regcomp.c
+++ b/generic/regcomp.c
@@ -533,7 +533,7 @@ struct nfa *nfa;
/* add implicit .* in front */
rainbow(nfa, v->cm, PLAIN, COLORLESS, pre, pre);
- /* and ^* and \Z* too -- not always necessary, but harmless */
+ /* and ^* and \A* too -- not always necessary, but harmless */
newarc(nfa, PLAIN, nfa->bos[0], pre, pre);
newarc(nfa, PLAIN, nfa->bos[1], pre, pre);
}