From: Charles Hixson Date: 2004-09-20T06:43:20+09:00 Subject: Re: Method improvement request .-- Charles Hixson wrote: > James Edward Gray II wrote: > >> On Sep 19, 2004, at 4:03 PM, Charles Hixson wrote: >> >>> Sorry. It took me a bit of digging to find the /.../x documentation >>> even after you explicitly pointed it out to me. (This won't work >>> for me, because my actual pre- and post- patterns also exclude >>> spaces, but it can certainly clarify the example, if one understands >>> it!) >> >> You can match space characters in an /.../x regex. The easiest way >> is to use the whitespace character class escape \s. >> Hope that helps. >> James Edward Gray II > > Does that work inside character class definitions( [] delimited groups)? Silly of me, of course not. /s *IS* a character class definition. But this does mean that I won't be able to use /.../x in the code. Still, it's great for clarifying the examples, now that I understand it.