Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

On iPhone X(iOS11.2), use Regular Expressions library.

Author: h.mohri


The 35th Developer camp will be held in Japan on March 15, 2018.
The venue is Tokyo Akihabara UDX GALLERY NEXT.


C++Builder 10.2.2 is one of the merits of being able to use RTL and STL.
For RTL, the classes on Regular expressions are TRegExTPerlRegEx.
But, since std::regexSTL can also be used, I set the target device to iOS this time and tried it.

I tried four patterns. The pattern numbers, hiragana-Japanese, ASCII and e-mail.

C++Builder 10.2.2 code

[crayon-674032184c087946188678/]

Select a pattern in ComboBox1, enter a character string in Edit1, and tap SpeedButton1.
If a pattern match is found, Successful is displayed in Memo1.

With Rad’s Studio Application Builder Software, you can make apps that support Ios 11.2 in the Delphi or C++ environments. Try the free tool here.
Exit mobile version