in reply to Re^2: inconsistency in whitespace handling
in thread inconsistency in whitespace handling

Youd be correct, UTF8 in either the text being matched or the pattern causes UTF8 semantics to apply to the whole regex. A good example of oddness this causes is the differing handling of the german sharp S. If you use extended ascii a case insensitive pattern will not match 'ss' if you use utf8 it will. :-)

---
$world=~s/war/peace/g

  • Comment on Re^3: inconsistency in whitespace handling