Closed ghost closed 3 years ago
It wasn't working for xpaths with more than one digits of value for example "//[@id="tab-custom-1"]/div/p[10]", it was working perfactly for "//[@id="tab-custom-1"]/div/p[1]"
I just modified the regex a little. (used quantifier)
Fixed on latest commit! Needed to use + instead of *, but you were close. Thanks for reporting the issue!
+
*
It wasn't working for xpaths with more than one digits of value for example "//[@id="tab-custom-1"]/div/p[10]", it was working perfactly for "//[@id="tab-custom-1"]/div/p[1]"
I just modified the regex a little. (used quantifier)