Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/2kai2kai2/ere
/ functions
Functions
264 in github.com/2kai2kai2/ere
⨍
Functions
264
◇
Types & classes
96
Method
build
(self)
ere-core/src/config.rs:53
Method
build
Recursively builds an inefficient but valid NFA based loosely on Thompson's Algorithm. Should be optimized using [`WorkingNFA::optimize_pass`]
ere-core/src/working_nfa.rs:391
Method
build_capture
(tree: &SimplifiedTreeNode, group_num: usize)
ere-core/src/working_nfa.rs:249
Method
build_concat
(nodes: T)
ere-core/src/working_nfa.rs:275
Method
build_repeat
(tree: &SimplifiedTreeNode, times: usize)
ere-core/src/working_nfa.rs:282
Method
build_star
(tree: &SimplifiedTreeNode, longest: bool)
ere-core/src/working_nfa.rs:363
Method
build_union
(nodes: &[SimplifiedTreeNode])
ere-core/src/working_nfa.rs:228
Method
build_upto
(tree: &SimplifiedTreeNode, times: usize, longest: bool)
ere-core/src/working_nfa.rs:335
Method
builder
()
ere-core/src/config.rs:32
Function
byte_value_exec
()
tests/pure_regex.rs:65
Method
calculate_epsilon_propogations_char
## Params - `nfa` is the original nfa - `state` is the index of the state in `nfa.states`
ere-core/src/epsilon_propogation.rs:42
Method
calculate_epsilon_propogations_u8
Will maintain priority order ## Params - `nfa` is the original nfa - `state` is the index of the state in `nfa.states`
ere-core/src/epsilon_propogation.rs:105
Method
capture
(self, group_num: usize)
ere-core/src/simplified_tree.rs:38
Method
check_dag
(graph: &'a LatexGraph)
ere-core/src/visualization/layout.rs:21
Method
combine_ranges_chars
Sorts and combines ranges
ere-core/src/parse_tree.rs:502
Function
compile_regex
(stream: TokenStream)
ere-macros/src/lib.rs:25
Function
compile_regex_dfa_u8
(stream: TokenStream)
ere-macros/src/lib.rs:48
Function
compile_regex_fixed_offset
(stream: TokenStream)
ere-macros/src/lib.rs:153
Function
compile_regex_flat_lockstep_nfa
(stream: TokenStream)
ere-macros/src/lib.rs:71
Function
compile_regex_flat_lockstep_nfa_u8
(stream: TokenStream)
ere-macros/src/lib.rs:94
Function
compile_regex_u8onepass
(stream: TokenStream)
ere-macros/src/lib.rs:124
Method
const_default
()
ere-core/src/config.rs:35
Method
default
()
ere-core/src/config.rs:42
Method
default_bound
Returns the default bound for the TDFA. Should probably be tuned.
ere-core/src/working_u8_dfa.rs:451
Function
dot
()
tests/pure_regex.rs:151
Function
dot
()
ere-core/src/working_u8_nfa.rs:1130
Function
double_loop
()
ere-core/src/working_u8_nfa.rs:1044
Function
double_loop
()
ere-core/src/working_nfa.rs:1053
Function
duplicate_paths
()
tests/pure_regex.rs:170
Method
eq
(&self, other: &Self)
ere-core/src/parse_tree.rs:618
Method
exec
(&self, text: &'a str)
ere-core/src/lib.rs:36
Function
find_discord_emoji
()
tests/pure_regex.rs:371
Function
find_quoted
()
tests/pure_regex.rs:331
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/working_u8_nfa.rs:29
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/parse_tree.rs:112
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/working_u8_dfa.rs:800
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/working_nfa.rs:69
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/engines/flat_lockstep_nfa.rs:26
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/engines/nfa_static.rs:59
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
ere-core/src/engines/flat_lockstep_nfa_u8.rs:25
Method
from
(value: u8)
ere-core/src/working_u8_nfa.rs:43
Method
from
(quantifier: QuantifierType)
ere-core/src/parse_tree.rs:322
Method
from
(value: ERE)
ere-core/src/simplified_tree.rs:265
Method
from_epsilon_prop
(local_from_idx: usize, epsilon_prop: &EpsilonPropogation)
ere-core/src/working_u8_dfa.rs:50
Method
from_ere
Returns the simplified tree, along with the number of capture groups (full expression is group 0)
ere-core/src/simplified_tree.rs:254
Method
from_ere_branch
( value: &EREBranch, mut group_num: usize, config: &Config, )
ere-core/src/simplified_tree.rs:182
Method
from_ere_expression
( value: &EREExpression, group_num: usize, config: &Config, )
ere-core/src/simplified_tree.rs:236
Method
from_ere_no_group0
[`SimplifiedTreeNode::from_ere`] except it doesn't wrap in the capture group 0
ere-core/src/simplified_tree.rs:260
Method
from_ere_part
( value: &EREPart, group_num: usize, config: &Config, )
ere-core/src/simplified_tree.rs:199
Method
from_nfa
Creates a TDFA from a TNFA. This should be the primary way to create a `U8TDFA`. Since the size of a DFA is worst-case exponential in the number of N
ere-core/src/working_u8_dfa.rs:379
Method
from_pair
((label, state): (VMStateLabel, &'a U8DFAState))
ere-core/src/engines/dfa_u8.rs:106
Method
from_str
(s: &str)
ere-core/src/parse_tree.rs:395
Method
from_sub_ere
( value: &ERE, mut group_num: usize, config: &Config, )
ere-core/src/simplified_tree.rs:165
Method
from_tagged
(tdfa_state: &U8TDFAState)
ere-core/src/working_u8_dfa.rs:545
Function
good_anchored_end
()
ere-core/src/working_u8_nfa.rs:1084
Function
good_anchored_end
()
ere-core/src/working_nfa.rs:1091
Function
good_anchored_start
()
ere-core/src/working_u8_nfa.rs:1061
Function
good_anchored_start
()
ere-core/src/working_nfa.rs:1069
Function
greedy
()
tests/pure_regex.rs:702
Method
greedy
(mut self)
ere-core/src/config.rs:56
Function
greedy_anchor_priority_alternation
()
tests/pure_regex.rs:687
Function
hex_color
()
tests/pure_regex.rs:191
Function
html_comment
()
tests/pure_regex.rs:401
Function
html_link_extract
()
tests/pure_regex.rs:434
Function
http_request
()
tests/pure_regex.rs:551
Function
ipv4
(c: &mut Criterion)
benches/ere_benchmark.rs:194
Function
ipv4_exec
()
tests/pure_regex.rs:84
Function
is_state_ascii
Currently use a conservative check: only use u8 engines when it will only match ascii strings
ere-core/src/lib.rs:71
Function
iso8601_date_extended
()
tests/pure_regex.rs:221
Function
iso8601_time_extended
()
tests/pure_regex.rs:243
Function
line_abc
()
tests/pure_regex.rs:278
Method
make_capture_statements
Should have text position `i` and `mut captures` in local context
ere-core/src/engines/one_pass_u8.rs:885
Method
make_label
(nfa_indices: &[SubNFAStateID])
ere-core/src/working_u8_dfa.rs:468
Method
map_capture
( (capture_group, (start, end)): (usize, &(bool, bool)), )
ere-core/src/engines/one_pass_u8.rs:886
Method
max_bytes
(&self)
ere-core/src/parse_tree.rs:581
Method
max_bytes
An upper bound for matched text length, in bytes. If possibly infinite, returns `None`.
ere-core/src/simplified_tree.rs:110
Method
min_bytes
(&self)
ere-core/src/parse_tree.rs:587
Method
min_bytes
A lower bound for matched text length, in bytes.
ere-core/src/simplified_tree.rs:137
Function
needle
()
tests/pure_regex.rs:122
Method
new
(to: usize, symbol: U8Atom)
ere-core/src/working_u8_nfa.rs:66
Method
new
()
ere-core/src/config.rs:50
Method
new
(to: usize)
ere-core/src/working_nfa.rs:42
Method
new
Returns `None` if the graph is not DAG
ere-core/src/visualization/layout.rs:62
Method
new
(nfa: &'a WorkingNFA)
ere-core/src/engines/flat_lockstep_nfa.rs:60
Method
new
(nfa: &'a U8NFA)
ere-core/src/engines/flat_lockstep_nfa_u8.rs:62
Method
new
(state: usize, num_captures: usize)
ere-core/src/engines/one_pass_u8.rs:29
Method
new_loop_opt
Converts from a char-based NFA Allows additional loops to be added at the start and end, So the passed NFA should probably not have loops included.
ere-core/src/working_u8_nfa.rs:448
Method
new_loop_opt
Creates an NFA but allowing specification of whether to include the `.*?` loops at the start and end.
ere-core/src/working_nfa.rs:416
Method
new_normal
( ident: usize, accept_transitions: &'a [ThreadUpdates], symbol_transition
ere-core/src/engines/one_pass_u8.rs:769
Method
new_run
(ident: usize, run: &'a Run)
ere-core/src/engines/one_pass_u8.rs:763
Method
new_start_state
Creates a new start state for the TDFA and expands it to create stubs for all the states it has transitions to. Unlike normal states, the start state'
ere-core/src/working_u8_dfa.rs:182
Method
nfa_byte
Makes an NFA matching a byte range.
ere-core/src/working_u8_nfa.rs:160
Method
nfa_capture
Wraps an NFA part in a capture group.
ere-core/src/working_u8_nfa.rs:250
Method
nfa_capture
Wraps an NFA part in a capture group.
ere-core/src/working_nfa.rs:233
Method
nfa_concat
Makes an NFA that matches a concatenation of NFAs.
ere-core/src/working_u8_nfa.rs:267
Method
nfa_concat
Makes an NFA that matches a concatenation of NFAs.
ere-core/src/working_nfa.rs:254
Method
nfa_empty
Makes an NFA that matches with zero length.
ere-core/src/working_u8_nfa.rs:155
Method
nfa_empty
Makes an NFA that matches with zero length.
ere-core/src/working_nfa.rs:191
Method
nfa_end
Makes an NFA that matches zero length but only at the text end
ere-core/src/working_u8_nfa.rs:367
Method
nfa_end
Makes an NFA that matches zero length but only at the text end
ere-core/src/working_nfa.rs:376
← previous
next →
101–200 of 264, ranked by callers