Is there a way to write a regular expression where you specify the
expression with "anchors" ... meaning that the expression applies at
the start or end of string or start or end of line?

For example

/^hello$/ will match 'hello' but not 'i said hello'


--

J IRC Channel irc://irc.freenode.org/jsoftware
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to