pattern matching - How to use Regex \A? -
pattern matching - How to use Regex \A? -
4.6.5.7 - - [date]
if \a4
above string can 4, if \adate
, not match. misread regex docs. can help?
if need specific , particular string in square brackets, utilize '\[date\]'.
if query more general, other posters have mentioned \a means 'start of string' rather 'start of word'.
(this site test out different regex commands instant feedback: http://rubular.com/)
regex pattern-matching
Comments
Post a Comment