Hello,
I am developing a library that parses a pdf and extracts data. To extract the data, I use, among other things, RegEx within this library.
Excample:
Dim Text As String
Dim RegExPattern As String
Dim RemainStr As String
Text = “…”
RegExPattern = “([-.,0-9]+\sEUR$)”
RemainStr = RegExObj.Matches(Text, RegExPattern, RegexOptions.None).Item(0).Value
When I test the library, everything works fine, but when I insert the library into the robot, the following error occurs:
error BC30451: ‘RegexOptions’ is not declared. It may be inaccessible due to its protection level. At line 52
What is the problem and what can I do about it?