Henry Rich wrote:
crashes J6.01c (works fine in 6.01 late beta)
It might be the utf8 option as mentioned in release highlight, try
load 'regex'
rxutf8 0
0
stringhashtml =: (rxcomp '<[hH][tT][mM][lL]>[][:' , ((#~ >:@('\'&=))(}. a.) -.
'][:-') , '-]*</[hH][tT][mM][lL]>')&(0&<:@:((<0 0)&{)@rxmatch)
stringhashtml 'anything'
0
stringhashtml '<html>aaaa</html>'
1
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm