> From: bill lam > > I think this line is incorrect > <define-regex id="close-expdef">^\s*\)\s*$</define-regex> > because the ) must be the first column to close a expdef
Actually by my testing the ) doesn't have to be in the first column to close an expdef, it just has to be the only non-space character on the line. Try it. > provide for corner case for_. (without any name) Hmmm..., shouldn't be too hard, I agree that it should be there for consistency, but is it really necessary? > for the context <!-- () --> > <match>[\(\)]</match> > I think it should not match ^\) but no idea how to write such regex Thanks, maybe a negative look-behind assertion will work. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
