• Home
  • Raw
  • Download

Lines Matching +full:to +full:- +full:regex

2 name = "regex"
5 license = "MIT OR Apache-2.0"
7 repository = "https://github.com/rust-lang/regex"
8 documentation = "https://docs.rs/regex"
9 homepage = "https://github.com/rust-lang/regex"
14 categories = ["text-processing"]
21 "bench", "regex-capi", "regex-debug", "regex-syntax",
27 # Doc tests fail when some features aren't present. The easiest way to work
28 # around this is to disable automatic doc testing, but explicitly test them
29 # with `cargo test --doc`.
33 # https://docs.rs/regex/*/#crate-features
35 default = ["std", "perf", "unicode", "regex-syntax/default"]
39 # The 'std' feature permits the regex crate to use the standard library. This
40 # is intended to support future use cases where the regex crate may be able
41 # to compile without std, and instead just rely on 'core' and 'alloc' (for
43 # will prevent regex from compiling.
45 # The 'use_std' feature is DEPRECATED. It will be removed in regex 2. Until
53 perf = ["perf-cache", "perf-dfa", "perf-inline", "perf-literal"]
55 # Currently, this feature has no effect. It used to remove the thread_local
58 perf-cache = []
60 perf-dfa = []
62 perf-inline = []
64 perf-literal = ["aho-corasick", "memchr"]
71 "unicode-age",
72 "unicode-bool",
73 "unicode-case",
74 "unicode-gencat",
75 "unicode-perl",
76 "unicode-script",
77 "unicode-segment",
78 "regex-syntax/unicode",
81 unicode-age = ["regex-syntax/unicode-age"]
83 unicode-bool = ["regex-syntax/unicode-bool"]
84 # Enables Unicode-aware case insensitive matching, e.g., `(?i)β`.
85 unicode-case = ["regex-syntax/unicode-case"]
87 unicode-gencat = ["regex-syntax/unicode-gencat"]
88 # Enables Unicode-aware Perl classes corresponding to `\w`, `\s` and `\d`.
89 unicode-perl = ["regex-syntax/unicode-perl"]
91 unicode-script = ["regex-syntax/unicode-script"]
93 unicode-segment = ["regex-syntax/unicode-segment"]
103 # Enable to use the unstable pattern traits defined in std. This is enabled
108 [dependencies.aho-corasick]
118 [dependencies.regex-syntax]
119 path = "regex-syntax"
121 default-features = false
123 [dev-dependencies]
127 quickcheck = { version = "1.0.3", default-features = false }
129 rand = { version = "0.8.3", default-features = false, features = ["getrandom", "small_rng"] }
130 # To check README's example
131 # TODO: Re-enable this once the MSRV is 1.43 or greater.
132 # See: https://github.com/rust-lang/regex/issues/684
133 # See: https://github.com/rust-lang/regex/issues/685
134 # doc-comment = "0.3"
136 # Run the test suite on the default behavior of Regex::new.
138 # based on the regex. We test both of the NFA implementations by forcing their
140 # in the same way since they can't be used for every regex tested.)
145 # The same as the default tests, but run on bytes::Regex.
148 name = "default-bytes"
155 # Run the test suite on the NFA algorithm over bytes that match UTF-8 only.
158 name = "nfa-utf8bytes"
163 name = "nfa-bytes"
170 # Run the test suite on the backtracking engine over bytes that match UTF-8
174 name = "backtrack-utf8bytes"
179 name = "backtrack-bytes"
181 # Run all backends against each regex found on crates.io and make sure
185 name = "crates-regex"