andgineer / TRegExpr

Regular expressions (regex), pascal.
https://regex.sorokin.engineer/en/latest/
MIT License
174 stars 63 forks source link

Compile error in Delphi XE #271

Closed dummzeuch closed 2 years ago

dummzeuch commented 2 years ago

The current sources don't compile with Delphi XE, because there the Character unit did not have a name space (System.Character). That was introduced with Delphi XE2. So the simplest fix would be to change the IFDEF in line 123 from {$IFDEF D_XE} to {$IFDEF D_XE2}.

Alexey-T commented 2 years ago

Okay, made the pull request.