Module reg_ex

Procs

proc clear(self: RegEx) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc compile(self: RegEx; pattern: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc searchAll(self: RegEx; subject: string; offset: int64 = 0'i64; endd: int64 = -1'i64): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc sub(self: RegEx; subject: string; replacement: string; all: bool = false;
        offset: int64 = 0'i64; endd: int64 = -1'i64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isValid(self: RegEx): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPattern(self: RegEx): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getGroupCount(self: RegEx): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getNames(self: RegEx): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}