SAP ABAP Class CL_REGEX_CACHE (Reuse of Regular Expressions)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
S_ABAP_TOOLS_DOC (Package) AbapDoc Plug-In for UML-tool

⤷

⤷

Properties
Class | CL_REGEX_CACHE | |
Short Description | Reuse of Regular Expressions | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_ABAP_TOOLS_DOC | AbapDoc Plug-In for UML-tool |
Created | 20090603 | 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_REGEX_CACHE has no interface implemented.
Friends
Class CL_REGEX_CACHE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_REGEX_CACHE | Reuse of Regular Expressions | 20090603 | ||
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | CACHE_TAB | Cache | 20090603 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Empty Cache | 20090603 |
2 | ![]() |
Instance method | Private | Constructor | Singleton Constructor | 20090603 |
3 | ![]() |
Instance method | Public | Method | Get instance on object of class CL_ABAP_REGEX | 20090603 |
4 | ![]() |
Static method | Public | Method | Get Instance on Singleton | 20090603 |
Events
Class CL_REGEX_CACHE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | CACHE_LINE | Private | See coding | Line in Cache | 20090603 | BEGIN OF cache_line,
pattern TYPE string,
ignore_case TYPE abap_bool,
simple_regex TYPE abap_bool,
no_submatches TYPE abap_bool,
regex TYPE REF TO cl_abap_regex,
END OF cache_line
|
|
2 | CACHE_TAB | Private | See coding | Cache Table of All Regular Expressions | 20090603 | cache_tab TYPE STANDARD TABLE OF cache_line WITH KEY pattern ignore_case simple_regex no_submatches
|
Method Signatures
Method CLEAR_CACHE Signature
Method CLEAR_CACHE on class CL_REGEX_CACHE has no parameter.
Method CLEAR_CACHE on class CL_REGEX_CACHE has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_REGEX_CACHE has no parameter.
Method CONSTRUCTOR on class CL_REGEX_CACHE has no exception.
Method GET_REGEX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IGNORE_CASE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Groß-/Kleinschreibung ignorieren? | 20090603 | |
2 | ![]() |
NO_SUBMATCHES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Keine Untergruppen speichern | 20090603 | |
3 | ![]() |
PATTERN | Call by reference | Type reference (TYPE) | STRING | '.*' | Pattern | 20090603 | |
4 | ![]() |
REGEX | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_REGEX | Reguläre Ausdrücke | 20090603 | ||
5 | ![]() |
SIMPLE_REGEX | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Vereinfachte Ausdrücke verwenden | 20090603 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
System Exceptions für reguläre Ausdrücke | 20090603 |
Method GET_SINGLETON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SINGLETON | Value transfer | Object reference (TYPE REF TO) | CL_REGEX_CACHE | Referenz auf den globalen Cache. | 20090603 |
Method GET_SINGLETON on class CL_REGEX_CACHE has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 730 |