Hi
I use below pattern for extract latitude and longitude from googlemap url
@([0-9]+\.[0-9]+),(\-?[0-9]+\.[0-9]+)
This pattern is working in Online Regex tester or event JAVA
But in B4x not working
Is there any different between languages about regex?
My code :
B4X:
If Regex.IsMatch("@([0-9]+\.[0-9]+),(\-?[0-9]+\.[0-9]+)",Data.Get("map")) Then
Dim matcher As Matcher
matcher = Regex.Matcher("@(\-?[0-9]+\.[0-9]+),(\-?[0-9]+\.[0-9]+)",Data.Get("map"))
Log(matcher.GroupCount)
End If