38 #ifndef _QORE_QOREREGEX_H
40 #define _QORE_QOREREGEX_H
42 #include "qore/intern/QoreRegexBase.h"
46 hashdecl QoreProgramLocation;
51 typedef std::function<
const QoreProgramLocation* ()> q_get_loc_t;
57 DLLLOCAL ~QoreRegex();
59 DLLLOCAL
void concat(
char c);
62 DLLLOCAL
void parse(q_get_loc_t get_loc);
65 DLLLOCAL
bool exec(
const char* str,
size_t len)
const;
72 DLLLOCAL
void setGlobal() {
76 DLLLOCAL
void ref()
const {
80 DLLLOCAL
void deref() {
85 DLLLOCAL QoreRegex* refSelf()
const {
87 return const_cast<QoreRegex*
>(
this);
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
This is the list container type in Qore, dynamically allocated only, reference counted.
Definition: QoreListNode.h:52
provides atomic reference counting to Qore objects
Definition: QoreReferenceCounter.h:44
DLLEXPORT void ROreference() const
atomically increments the reference count
DLLEXPORT bool ROdereference() const
atomically decrements the reference count
Qore's string type supported by the QoreEncoding class.
Definition: QoreString.h:93
long long int64
64bit integer type, cannot use int64_t here since it breaks the API on some 64-bit systems due to equ...
Definition: common.h:260