Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ jobs:
cd bench
./run rust --no-run --verbose

- if: matrix.build == 'nightly'
name: Run tests with pattern feature
run: |
cargo test --test default --no-default-features --features 'std pattern unicode-perl'

rustfmt:
name: rustfmt
runs-on: ubuntu-18.04
Expand Down
3 changes: 2 additions & 1 deletion src/pattern.rs
Original file line number Diff line number Diff line change
@@ -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