<i>string match doesn't work as documented when - is the last c</i> status still Open with 4 other changes
by
.
D 2003-11-24T23:17:10
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nBackslashes\saren't\sspecial\sinside\sthe\ssquare-bracket\sterm,\nso\sthe\sfirst\smatch\sdoesn't\smatch\swhat\syou\sare\sexpecting\sand\nthe\ssecond\smatch\sisn't\slooking\sfor\swhat\syou\sthink\sit\sis:\n\n%\sset\sstr\s\\\\\n\\\n%\sstring\smatch\s{[\\[]}\s$str\n1\n%\sset\sstr\s{\\]}\n\\]\n%\sstring\smatch\s{[\\]]}\s$str\n1\n\nThe\sglob-matching\sengine\sused\sby\s[string\smatch]\sisn't\svery\nsmart...\s\s:^(\s\sConsider\susing\sregular\sexpressions\sinstead.\n
J login dkf
J mimetype text/plain
J username dkf
K 219233ffffffffffffffffffffffffffffffffff
U dkf
Z 60bcd5650f467a7470f50fd6673cc338