Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!mcsun!hp4nl!mhres!jv From: jv@mh.nl (Johan Vromans) Newsgroups: comp.lang.perl Subject: Re: matching word boundaries with regexps Message-ID: Date: 16 Jan 90 05:05:01 GMT References: <2295@ruuinf.cs.ruu.nl> Sender: jv@mhres.mh.nl Organization: Multihouse Gouda, the Netherlands Lines: 21 In-reply-to: piet@cs.ruu.nl's message of 15 Jan 90 10:57:37 GMT In article <2295@ruuinf.cs.ruu.nl> piet@cs.ruu.nl (Piet van Oostrum) writes: > It seems that matching word boundaries with \b in regexps doesn't work > properly. [example deleted] Knowing Piet* is running perl on HP-UX, I tried a little, and found out that: - on VAX/Ultrix it behaves like expected - on HP-UX it fails. - it runs fine on HP-UX if the 'ignore case' spec is removed from the matches: $yes++ if /\byes\b/; So I think it has something to do with HP's NLS system (a wild guess, but - who knows?) Johan -- Johan Vromans jv@mh.nl via internet backbones Multihouse Automatisering bv uucp: ..!{uunet,hp4nl}!mh.nl!jv Doesburgweg 7, 2803 PL Gouda, The Netherlands phone/fax: +31 1820 62944/62500 ------------------------ "Arms are made for hugging" -------------------------