Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation with pattern feature #772

Merged
merged 4 commits into from May 6, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/pattern.rs
@@ -1,7 +1,8 @@
use std::str::pattern::{Pattern, SearchStep, Searcher};

use re_unicode::{Matches, Regex};
use crate::re_unicode::{Matches, Regex};

#[derive(Debug)]
pub struct RegexSearcher<'r, 't> {
haystack: &'t str,
it: Matches<'r, 't>,
Expand Down
1 change: 1 addition & 0 deletions test
Expand Up @@ -21,6 +21,7 @@ features=(
"std perf-dfa"
"std perf-inline"
"std perf-literal"
"std pattern"
Luro02 marked this conversation as resolved.
Show resolved Hide resolved
)
for f in "${features[@]}"; do
echo "===== FEATURE: $f (default) ==="
Expand Down