[PATCH] In fold-matches, set regexp/notbol unless matching string start.

2012-09-15 Thread Chris K. Jester-Young
* module/ice-9/regex.scm (fold-matches): Set regexp/notbol if the starting position is nonzero. * test-suite/tests/regexp.test (fold-matches): Check that when matching /^foo/ against "foofoofoofoo", only one match results. --- module/ice-9/regex.scm |3 ++- test-suite/tests/regexp.te

Re: [PATCH] In fold-matches, set regexp/notbol unless matching string start.

2012-09-26 Thread Ludovic Courtès
"Chris K. Jester-Young" skribis: > * module/ice-9/regex.scm (fold-matches): Set regexp/notbol if the > starting position is nonzero. > * test-suite/tests/regexp.test (fold-matches): Check that when > matching /^foo/ against "foofoofoofoo", only one match results. > --- > module/ice-9/regex.s