[clug] Circumflex
Bryan Kilgallin (iiNet)
kilgallin at iinet.net.au
Thu Aug 17 12:43:00 UTC 2017
Thanks, Eyal:
> In a regular expression the '^' (at the start) indicates that the
> matching expression must be at the
> beginning of the examined string:
{
More special characters ^$
Used outside of the square brackets the ^ and $ sign will have new
meanings. And yes, this is a big part of why Regex is a bit confusing to
start up with. Instead of the ^ meaning “not these characters” it means
“start of the string”.
}
http://webagility.com/posts/the-basics-of-regex-explained
I could use drill and practice exercises.
--
www.netspeed.com.au/bryan/
More information about the linux
mailing list