It is used when complex patterns are expected. RegEx concept is around for quite some time. Those of you who are an expert of this topic and might be get bored, please feel free to skip this section ahead. Before digging into the new features, I would like to give a short introduction on RegEx in general & presenting examples which is explicitly written in ABAP. Regular expressions, or regex as they’re commonly called, are usually complicated and intimidating for new users. Although this can be hidden by the pragma #regex_posix, it is strongly recommended to migrated to the other regular expression syntax supported by ABAP like PCRE regular expressions, XPath regular expressions or XSD regular expressions. Hence, from now on, regular expressions in POSIX syntax are obsolete, then using this kind of regular expressions syntax leads to a warning from the syntax check. Previously, POSIX style regular expressions or “Portable Operating System Interface for uniX” was used in ABAP. In this blog post, I would like to share the latest news and changes made to Regular Expressions in modern ABAP, mainly from OP release 7.55 & 7.56.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |