KMoody
Member
Version: OpenEdge 11.7.5.00
OS: Windows 10 Pro
System Type: 64-bit
I'm running the following code:
The program crashes when I try to create a new Regex object. I can't capture the error, so I can't figure out what's going on.
Why might the program be crashing?
OS: Windows 10 Pro
System Type: 64-bit
I'm running the following code:
Code:
USING System.Text.RegularExpressions.*.
message "start...".
DEF VAR regexp AS CLASS Regex NO-UNDO.
regexp = NEW Regex("^[~\w.!#$%&’*+/=?^_`~{|~}~-]+@[~\w-]+(?:\.[a-zA-Z0-9-]+)*$").
message "test@gmail.com" regexp:IsMatch("test@gmail.com").
MESSAGE "...end.".
The program crashes when I try to create a new Regex object. I can't capture the error, so I can't figure out what's going on.
Why might the program be crashing?