Hi Greg,
This is from the /addons/labs/labs/system/regex.ijt lab
load 'regex'
s=: 'abc 123 def 456 ghi'
]pdigits=: rxcomp '[[:digit:]]+'
('first';'second') (pdigits rxmatches s) rxmerge s
abc first def second ghi
On Mon, May 5, 2014 at 4:44 PM, greg heil <[email protected]> wrote:
> The examples on the ~regex_verbs page work (in j801) up to the line
>
> phandle rxmerge str
>
> where a "domain error" occurs. Which is unfortunate as i was trying to
> figure out rxmerge;-)
>
> ---~
> http://www.jsoftware.com/docs/help602/user/regex_verbs.htm
>
> greg
> ~krsnadas.org
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm