Re: don't understand word boundary

2001-06-03 Thread Jeff Pinyan
On Jun 3, [EMAIL PROTECTED] said: >Could someone please explain this to me clearly so I >can actually understand word boundaries? I've tried to do this in Chapter 3, "Extending and Controlling", of my upcoming book, "Regular Expressions in Perl". If you read it, it might help shed some light on

Re: don't understand word boundary

2001-06-03 Thread Randal L. Schwartz
> "You" == <[EMAIL PROTECTED]> writes: You> on page 83 of Learning Perl, they give a regex You> example: You> /abc\bdef/; You> #never matches (impossibe for a boundary there) You> Could someone please explain this to me clearly so I You> can actually understand word boundaries? First

RE: don't understand word boundary

2001-06-03 Thread Peter Scott
At 12:14 PM 6/3/2001 -0400, Eduard Grinvald wrote: >The equivalent of specifying a word boundary would be roughly the following >regex: >/[^a-zA-Z0-9-_][a-zA-Z0-9-_]+[^a-zA-Z0-9-_]/ >Something that's not in a word, followed by something in a word, followed by >something not in a word. Sorry, this

RE: don't understand word boundary

2001-06-03 Thread Eduard Grinvald
-Z0-9-_]+[^a-zA-Z0-9-_]/ Something that's not in a word, followed by something in a word, followed by something not in a word. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 03, 2001 12:11 PM To: [EMAIL PROTECTED] Subject: don't understand wor

don't understand word boundary

2001-06-03 Thread patroclus_1
on page 83 of Learning Perl, they give a regex example: /abc\bdef/; #never matches (impossibe for a boundary there) Could someone please explain this to me clearly so I can actually understand word boundaries? thanks... __ Do You Yahoo!?