[regex-coach] regex not matching blank space after the beginningof the line?

Ian.H regex-c at digiserv.net
Wed Dec 6 15:10:30 UTC 2006


Laurent TAUPIAC wrote:
> Ian.H a écrit :

>>> "\A*7[0-9][0-9]"
>>>     
>>    ^^
>> Is that a typo?
>>
>>   
> I don't think so.
>  \A is a point assertion meaning start of subject like
> Other kind of point assertion are \Z, \z, \G  \b \B


Thanks Laurent. Although I use a fair bit of regex stuff for PHP web
development, seems it's primarily the basics repeated. \b and \B get
used but can't say I've ever used the others you mention or \A.

We learn something new every day =)

Apologies to the OP for any confusion brought by my response.



Regards,

  Ian

-- 
$_="26432841792441078041435211430434648439292039649241435237148836077240
7208";s/\s//gs;@a=$_=~m!......!g;$_=<DATA>;@b=$_=~m!......!g
;map{push(@a,$_ ); }@b;map{print chr($_/3572); }@a; __DATA__
114304285760360772407208385776114304371488346484353628382204360772407208



More information about the regex-coach mailing list