Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Genivia/RE-flex
/ functions
Functions
1,072 in github.com/Genivia/RE-flex
⨍
Functions
1,072
◇
Types & classes
147
↓ 414 callers
Method
empty
Return true if this pattern is not assigned.
include/reflex/pattern.h:310
↓ 276 callers
Method
end
include/reflex/setop.h:435
↓ 260 callers
Method
text
Returns 0-terminated pattern match as a char pointer, does not include matched \0s, this is a constant-time operation.
include/reflex/abslexer.h:286
↓ 234 callers
Method
begin
include/reflex/setop.h:431
↓ 188 callers
Method
size
Returns the current length of the bit vector.
include/reflex/bits.h:494
↓ 186 callers
Method
input
Read one 8-bit character, returns zero when EOF.
include/reflex/flexlexer.h:475
↓ 125 callers
Method
insert
insert opcode at address
examples/minic.hpp:1556
↓ 114 callers
Method
at
include/reflex/pattern.h:1242
↓ 102 callers
Method
find
Find the first range [lo',hi'] that overlaps the given range [lo,hi], i.e. lo <= hi' and lo' <= hi.
include/reflex/ranges.h:237
↓ 93 callers
Function
at
()
doc/html/jquery.js:23
↓ 92 callers
Function
error
tests/rtest.cpp:23
↓ 76 callers
Function
b
(e)
doc/html/jquery.js:32
↓ 58 callers
Function
c
(g,e)
doc/html/jquery.js:32
↓ 55 callers
Method
add
examples/lua.hpp:48
↓ 50 callers
Method
accept
include/reflex/pattern.h:670
↓ 48 callers
Function
is_modified
lib/convert.cpp:207
↓ 47 callers
Method
get
Get a single character (unsigned char 0..255) or EOF (-1) when end-of-input is reached.
include/reflex/input.h:628
↓ 44 callers
Function
supports_escape
include/reflex/convert.h:193
↓ 44 callers
Function
utf8
Convert a UCS-4 range [a,b] to a UTF-8 regex pattern.
lib/utf8.cpp:120
↓ 39 callers
Method
at_end
Returns true if this matcher has no more input to read from the input character sequence.
include/reflex/absmatcher.h:980
↓ 38 callers
Function
timer
tests/lorem.cpp:33
↓ 38 callers
Method
transpile
examples/lua.hpp:269
↓ 37 callers
Method
clear
Clear this Input by unassigning it.
include/reflex/input.h:591
↓ 35 callers
Method
predict_match
Returns true when match is predicted using my PM3+PM5 logic for min>=1.
include/reflex/pattern.h:381
↓ 32 callers
Function
a
(e)
doc/html/jquery.js:23
↓ 32 callers
Method
matches
Returns nonzero capture index (i.e. true) if the entire input matches this matcher's pattern (and internally caches the true/false result to permit re
include/reflex/absmatcher.h:609
↓ 32 callers
Method
state
new DFA state.
include/reflex/pattern.h:979
↓ 32 callers
Function
uppercase
lib/convert.cpp:80
↓ 31 callers
Method
contains
Returns true if the given bits are a subset of the bit vector, i.e. for each bit in bits, the corresponding bit in the bit vector is set.
include/reflex/bits.h:522
↓ 29 callers
Function
error
tests/stest.cpp:16
↓ 29 callers
Function
error
tests/ptest.cpp:25
↓ 29 callers
Function
error
tests/btest.cpp:18
↓ 27 callers
Method
columno
Returns the starting column number of matched text, taking tab spacing into account and counting wide characters as one character each.
include/reflex/abslexer.h:383
↓ 25 callers
Method
hi
Return the highest value in the set of ranges (the set cannot be empty)
include/reflex/ranges.h:525
↓ 24 callers
Method
skip
Skip input until the specified ASCII character is consumed and return true, or EOF is reached and return false.
include/reflex/absmatcher.h:1283
↓ 23 callers
Method
buffer
Set buffer block size for reading: use 0 (or omit argument) to buffer all input in which case returns true if all the data could be read and false if
include/reflex/absmatcher.h:452
↓ 22 callers
Method
lineno
Returns the line number of matched text.
include/reflex/abslexer.h:360
↓ 22 callers
Method
lo
Return the lowest value in the set of ranges (the set cannot be empty)
include/reflex/ranges.h:519
↓ 20 callers
Method
first
Returns the position of the first character of the match in the input character sequence, a constant-time operation.
include/reflex/absmatcher.h:954
↓ 20 callers
Method
reset
Reset this matcher's state to the initial state.
include/reflex/matcher.h:181
↓ 19 callers
Function
help
Display help information with an optional diagnostic message and exit
examples/ugrep.cpp:780
↓ 19 callers
Function
lowercase
lib/convert.cpp:75
↓ 18 callers
Method
FSM_HALT
FSM code HALT.
include/reflex/matcher.h:302
↓ 18 callers
Function
print_char
lib/pattern.cpp:92
↓ 18 callers
Function
supports_modifier
include/reflex/convert.h:180
↓ 18 callers
Method
swap
Swap bit vectors.
include/reflex/bits.h:562
↓ 17 callers
Method
FSM_CHAR
FSM code CHAR.
include/reflex/matcher.h:297
↓ 17 callers
Function
convert
lib/convert.cpp:1462
↓ 17 callers
Method
done
include/reflex/pattern.h:904
↓ 17 callers
Method
erase
Update ranges by deleting the given range [lo,hi].
include/reflex/ranges.h:679
↓ 17 callers
Method
pos
Returns position of the error in the regex.
include/reflex/error.h:131
↓ 17 callers
Method
rest
Fetch the rest of the input as text, useful for searching/splitting up to n times after which the rest is needed.
include/reflex/absmatcher.h:1345
↓ 16 callers
Function
bF
(b0,b1)
doc/html/jquery.js:16
↓ 16 callers
Method
lazy
lib/pattern.cpp:2266
↓ 16 callers
Function
utf8
Convert UCS-4 to UTF-8, fills with REFLEX_NONCHAR_UTF8 when out of range, or unrestricted UTF-8 with WITH_UTF8_UNRESTRICTED.
include/reflex/utf8.h:76
↓ 15 callers
Method
assign
include/reflex/pattern.h:817
↓ 15 callers
Function
k
(q)
doc/html/jquery.js:61
↓ 15 callers
Function
timer_elapsed
Return elapsed time in milliseconds (ms) since the last call up to 1 minute (wraps if elapsed time exceeds 1 minute!)
include/reflex/timer.h:58
↓ 14 callers
Function
gethex
lib/pattern.cpp:148
↓ 14 callers
Method
is
Match case-insensitive string s while ignoring the rest of the line, return true if OK
src/reflex.cpp:842
↓ 14 callers
Method
last
Returns the exclusive position of the last character of the match in the input character sequence, a constant-time operation.
include/reflex/absmatcher.h:960
↓ 14 callers
Function
timer_start
Start timer.
include/reflex/timer.h:52
↓ 13 callers
Function
banner
tests/rtest.cpp:11
↓ 13 callers
Function
banner
tests/stest.cpp:4
↓ 13 callers
Function
banner
tests/ptest.cpp:13
↓ 13 callers
Function
banner
tests/btest.cpp:6
↓ 13 callers
Method
intersects
Returns true if the bit vector intersects with the given bits, false if the bit vectors are disjoint.
include/reflex/bits.h:509
↓ 12 callers
Method
newline
examples/lua.hpp:787
↓ 11 callers
Method
any
Returns true if any bit is set.
include/reflex/bits.h:461
↓ 11 callers
Function
e
(bG,bF)
doc/html/jquery.js:16
↓ 11 callers
Method
good
Check if input is available.
include/reflex/input.h:600
↓ 11 callers
Method
loc
include/reflex/pattern.h:673
↓ 10 callers
Function
ctz
include/reflex/simd.h:103
↓ 10 callers
Method
error
Report an error and exit
src/reflex.cpp:1442
↓ 10 callers
Function
isword
Check ASCII word-like character `[A-Za-z0-9_]`, permitting the character range 0..303 (0x12f) and EOF.
include/reflex/absmatcher.h:84
↓ 10 callers
Method
iter
include/reflex/pattern.h:666
↓ 10 callers
Function
latin1
Convert an 8-bit ASCII + Latin-1 Supplement range [a,b] to a regex pattern.
lib/utf8.cpp:109
↓ 10 callers
Function
regex_range
lib/utf8.cpp:88
↓ 9 callers
Method
anchor
include/reflex/pattern.h:669
↓ 9 callers
Function
help
Display help information with an optional diagnostic message and exit
examples/cvt2utf.cpp:359
↓ 9 callers
Method
span
Enlarge the match to span the entire line of input (excluding `\n`), return text().
include/reflex/absmatcher.h:1244
↓ 9 callers
Method
wunput
Put back one (wide) character on the input character sequence for matching, DANGER: invalidates the previous text() pointer and match info, unput is n
include/reflex/absmatcher.h:1093
↓ 8 callers
Function
J
()
doc/html/jquery.js:68
↓ 8 callers
Function
by
(bz)
doc/html/jquery.js:16
↓ 8 callers
Function
hex_or_octal_escape
lib/convert.cpp:222
↓ 8 callers
Method
insert
Update ranges to include range [lo,hi] by merging overlapping ranges into one range.
include/reflex/ranges.h:197
↓ 8 callers
Method
line
Returns the line of input (excluding `\n`) as a string containing the matched text as a substring.
include/reflex/absmatcher.h:1260
↓ 8 callers
Function
range
lib/posix.cpp:78
↓ 8 callers
Function
regex_char
lib/utf8.cpp:41
↓ 8 callers
Method
unput
Put back one character on the input character sequence for matching, invalidating the current match info and text.
include/reflex/flexlexer.h:489
↓ 7 callers
Method
FSM_TAKE
FSM code TAKE.
include/reflex/matcher.h:307
↓ 7 callers
Method
begin_local_scope
examples/lua.hpp:772
↓ 7 callers
Function
bw
()
doc/html/jquery.js:16
↓ 7 callers
Function
convert
include/reflex/convert.h:170
↓ 7 callers
Method
end_local_scope
examples/lua.hpp:778
↓ 7 callers
Method
eof
Check if input reached EOF.
include/reflex/input.h:614
↓ 7 callers
Function
fopen_s
lib/pattern.cpp:86
↓ 7 callers
Function
have_HW_AVX2
do we have AVX2?
include/reflex/simd.h:84
↓ 7 callers
Function
insert_list
lib/convert.cpp:958
↓ 6 callers
Function
a0
(bv,e)
doc/html/jquery.js:23
next →
1–100 of 1,072, ranked by callers