http://qs321.pair.com?node_id=1190837


in reply to \b in Unicode regex

Why don't you write down what $string and $_ contain, so we don't have to guess? See I know what I mean. Why don't you?

$s = "hüh-hott"; $t = "hüh"; print "matches: '$&'\n" if $s =~ /$t/; print "matches too: '$&'\n" if $s =~ /\b$t\b/; __END__ matches: 'hüh' matches too: 'hüh'
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'