I upgraded from J6.01beta to J6.01c over the weekend, and
after an exciting race with the market open this morning I
tracked down the crash to:

stringhashtml =: (rxcomp '<[hH][tT][mM][lL]>[][:' , ((#~ >:@('\'&=))(}. a.) -. 
'][:-') ,
'-]*</[hH][tT][mM][lL]>')&(0&<:@:((<0 0)&{)@rxmatch)

(that's just one long line, so the failing verb is one sentence)

stringhashtml 'anything'

crashes J6.01c (works fine in 6.01 late beta)

The business in the middle:

[][:' , ((#~ >:@('\'&=))(}. a.) -. '][:-') , '-]

is a pattern that matches any character except a NUL (any better
ways to do this are welcomed)

Henry Rich

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to