<i>Line-sensitivity at -start, but also -all</i> status still Open with 4 other changes
by
.
D 2009-10-16T05:25:56
J icomment Here\sis\sanother\sdescription\sof\sthe\sbug,\sand\sa\scontrast:\n\nIn\sregexp\swith\sthe\s-all\soption,\sit\sis\sclear\sthat\sthe\smatches\nmust\snot\soverlap.\s\sBut\show\sis\sthe\srule\sif\sthe\sexpression\nstarts\swith\sa\sconstraint\s(width\szero),\slike\sfor\sexample\s^\nor\s\\m\s?\n\nTo\smy\ssurprise\syou\scannot\sfind\sa\slinestart\safter\sa\nmatched\s\\n:\n\n%\sregexp\s-all\s-inline\s-indices\s{(?n)^a\\n}\s"a\\na\\na\\n"\n{0\s1}\s{4\s5}\n\nThe\sbehaviour\sI\sexpected\sis\sthe\sone\sseen\swith\s\\m\sinstead\sof\s^:\nyou\s_can_\sfind\sa\swordstart\safter\sa\smatched\s\\n:\n\n%\sregexp\s-all\s-inline\s-indices\s{(?n)\\ma\\n}\s"a\\na\\na\\n"\n{0\s1}\s{2\s3}\s{4\s5}\n\nSo\ssomehow\sthe\sregexp\sengine\sis\sallowed\sto\slook\sback\sto\nsee\sthat\sa\s\\n\spreceded\sand\shence\sconstitutes\sa\sword\sboundary,\nbut\sit\sis\snot\sallowed\sto\slook\sback\sand\sdetect\sthat\sthis\ssame\n\\n\salso\sconstitutes\sa\sline\sboundary...\n\n
J login jkock
J mimetype text/plain
J username jkock
K 2826551fffffffffffffffffffffffffffffffff
U jkock
Z d1517aeae691e23d3d2738ea8d90c116