Post by Stefan on Sept 13, 2022 4:25:07 GMT -5
George,
/UPDATE THANK YOU THE FORUM TEXT EDITOR! It translates text into emojis unless it's in a CODE box.
There's something fragile going on in some circumstances which I still have to diagnose properly, but I did notice another strange thing in the Crash report.
Could be related or could be a sympton of what else happend.
Anyway, I issue a FIND command within a macro using a Reg-Ex search string which contains a vertical bar (|) character.
The string, as traced by SPF_TRACE and executed by SPFLITE, is correct and the relevant target line is found correctly. In fact it does so several times.
Then SPFLite crashes (Reason still being investigated)
However, I note that the FIND string in the crash report is corrupted (see below).
Each occrrence of the vertical bar is missing and whatever character follows it is also missing.
Ir should read:
R`^\s*\:\:(?:(?>METHOD +|ROUTINE +)([\'\"])?\Qab\E[\w\$]*([\'\"])?|\Qab\E[\w\$]*\:)'
^^ ^^
SPFLite V(2.6.22217) @ 2022-09-13 10:07
SPFLite has encountered an execution exception (C0000005)
Last Interactions were:
K=ENTER
...
P=FIND R`^\s*\:\:(?:(?>METHOD +OUTINE +)([\'\"])?\Qab\E[\w\$]*([\'\"])?Qab\E[\w\$]*\:)` NEXT
P=LINE `:a!` !389
P=FIND R`^\s*\:\:(?:(?>METHOD +OUTINE +)([\'\"])?\Q\E[\w\$]*([\'\"])?Q\E[\w\$]*\:)` NEXT DX
P=RESET FIND
P=FIND R`^\s*\:\:(?:(?>METHOD +OUTINE +)([\'\"])?\Qab\E[\w\$]*([\'\"])?Qab\E[\w\$]*\:)` NEXT
P=EXCLUDE !393
P=RESET FIND
Module Back Trace:
04 DISPSCREEN
03 POSTKEYBOARD
02 MAINDKEYPROCESS
01 MAINCDOKEYSTRING
00 REALPBMAIN
As I said, still working on why it crashes, but the report data is definitely unable to copy with vertical bars.