Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++

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 TRegEx, TPerlRegEx.
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

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.
RAD Studio 13.2 Florence Now Available! Kai 1.1.1 Now Available! What's Coming in RAD Studio 13.2 Florence

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.

Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES