SAP ABAP Class CL_ABAP_REGEX (Regular Expressions)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_REGEX (Package) Regular Expressions
⤷
⤷
Properties
| Class | CL_ABAP_REGEX | |
| Short Description | Regular Expressions | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SABP_REGEX | Regular Expressions |
| Created | 20031022 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ABAP_REGEX has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_ABAP_MATCHER | 20031024 | Regular Expressions |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | %_C_POINTER | Finite Machine of Regular Expression | 20040311 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | LANG | Locals Used | 20050301 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | STRING | Pattern of Regular Expression | 20031022 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Generation of an Object for a Regular Expression | 20031022 | |
| 2 | Instance method | Public | Method | Assignment of a Char. String/Table to a Regular Expression | 20031212 | |
| 3 | Instance method | Public | Destructor | Delete Machine (Internal Destructor) | 20040430 | |
| 4 | Instance method | Private | Method | (internal usage) | 20040504 |
Events
Class CL_ABAP_REGEX has no event.
Types
Class CL_ABAP_REGEX has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IGNORE_CASE | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Groß-/Kleinschreibung ignorieren? | 20031022 | ||
| 2 | NO_SUBMATCHES | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | keine Untergruppen speichern | 20040503 | ||
| 3 | PATTERN | Call by reference | Type reference (TYPE) | CLIKE | regulärer Ausdruck | 20031022 | |||
| 4 | SIMPLE_REGEX | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | vereinfachte Ausdrücke verwenden | 20040503 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exceptions für reguläre Ausdrücke | 20040220 |
Method CREATE_MATCHER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MATCHER | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_MATCHER | Zugehöriges Matcher-Objekt | 20031212 | |||
| 2 | TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Zu durchsuchende Tabelle | 20031212 | |||
| 3 | TEXT | Call by reference | Type reference (TYPE) | CLIKE | Zu durchsuchender Text | 20031212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exceptions für reguläre Ausdrücke | 20040220 |
Method DESTRUCTOR Signature
Method DESTRUCTOR on class CL_ABAP_REGEX has no parameter.
Method DESTRUCTOR on class CL_ABAP_REGEX has no exception.
Method _COMPILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AUTOMATON | Value transfer | Type reference (TYPE) | %_C_POINTER | Erzeugter Automat | 20040504 | |||
| 2 | PATTERN | Call by reference | Type reference (TYPE) | STRING | Regulärer Ausdruck | 20040504 | |||
| 3 | TYPE | Call by reference | Type reference (TYPE) | INT4 | Typ des regulären Ausdrucks | 20040504 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exceptions für reguläre Ausdrücke | 20040504 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |