Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmitry-zharinov/CommonRegexABAP
CommonRegex port for ABAP
https://github.com/dmitry-zharinov/CommonRegexABAP
Last synced: 6 days ago
JSON representation
CommonRegex port for ABAP
- Host: GitHub
- URL: https://github.com/dmitry-zharinov/CommonRegexABAP
- Owner: dmitry-zharinov
- Created: 2020-07-26T13:38:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T13:08:34.000Z (over 3 years ago)
- Last Synced: 2024-08-02T19:01:49.941Z (4 months ago)
- Language: ABAP
- Size: 5.86 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- abap-florilegium - CommonRegexABAP
README
# CommonRegexABAP
[CommonRegex](https://github.com/madisonmay/CommonRegex/ "CommonRegex") port for ABAPFind a lot of kinds of common information in a string.
Pull requests welcome!
Please note that this is currently English/US specific.
### Installation
Install this repository using [abapGit](https://github.com/larshp/abapGit#abapgit).
### API
Create an instance of class ZCL_COMMONREGEX and call one of the public methods:
* `get_dates()`
* `get_times()`
* `get_phones()`
* `get_links()`
* `get_emails()`
* `get_ipv4()`
* `get_ipv6()` (currently in progress)
* `get_hex_colors()`
* `get_acronyms()`
* `get_money()`
* `get_percentages()`
* `get_credit_cards()` (currently in progress)
* `get_addresses()````abap
DATA: l_text type string.
...
mo_cut = NEW #( l_text ).DATA(lt_data) = mo_cut->get_dates().
```