all data lost in jconsole after regerror

11 views
Skip to first unread message

Jorrit Kirsten

unread,
Jul 6, 2026, 5:07:12 AM (yesterday) Jul 6
to forum
]a =. 123
('(*ANYCRLF)+';LF) rxrplc 'abc',2#LF,'def'   NB. Error: (*ANYCRLF) not supported? 
a   NB. Now, strangely, a is undefined !!

NB.---- interpreter in- and output:
      ]a =. 123
123
      ('(*ANYCRLF)+';LF) rxrplc 'abc',2#LF,'def'
|quantifier does not follow a repeatable item at offset 10
(*ANYCRLF)+
          ^
: regerror
|   m     13!:8[12
|regerror[3]
      a
|value error: a

Jorrit

Jorrit Kirsten

unread,
Jul 6, 2026, 5:09:45 AM (yesterday) Jul 6
to forum, Jorrit Kirsten
The same problem occurs in care of any other or at least many other regerrors!  

Henry Rich

unread,
Jul 6, 2026, 9:55:55 AM (yesterday) Jul 6
to fo...@jsoftware.com
You seem to be using an old version.  On 9.8-beta4 I get

   ]a =. 123
123
   load'regex'

   ('(*ANYCRLF)+';LF) rxrplc 'abc',2#LF,'def'
|quantifier does not follow a repeatable item at offset 10
(*ANYCRLF)+
          ^
: regerror
|   m     13!:8[12
Press ENTER to inspect
   a
123

Henry Rich
To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.

Jorrit Kirsten

unread,
Jul 6, 2026, 1:52:23 PM (yesterday) Jul 6
to forum, Henry Rich
Thank you very much, Henry Rich, for this hint! Yes, I am still using version 9.7. I'll switch to the latest beta version!
Jorrit 

Henry Rich

unread,
Jul 6, 2026, 2:39:48 PM (yesterday) Jul 6
to Jorrit Kirsten, forum
Hm.  You didn't get the 'Press ENTER to inspect' message.  I'm surprised at that from 9.7.  I don't think any 9.8 change would alter the behavior.

What is your JVERSION, and what is your machine?

Henry Rich

bill lam

unread,
Jul 6, 2026, 7:32:32 PM (22 hours ago) Jul 6
to fo...@jsoftware.com
I suspect it had switched to jregex locale when error occurred. Try switching to your original locale, eg
cocurrent 'base'


To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.
Reply all
Reply to author
Forward
0 new messages