Android Question Regex in B4A 9.30

peacemaker

Expert
Licensed User
Longtime User
HI, All
Before update to B4A 9.30 this sub worked OK:

B4X:
Sub IfFormattedQR (text As String) As Boolean
    Dim res As Boolean = Regex.IsMatch("\d{4,}", text)
    Return res
End Sub

Strings like "TEST0000", "TEST9999"... were matched OK, as on https://regex101.com

After update to B4A v.9.30 ... it's a miracle - do not match anymore.
Always at jdk-11.0.1.
Am i ill ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…