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

FilteringAutomatonMatcher to support simple look-ahead / look-behind. #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 23, 2017

  1. FilteringAutomatonMatcher to support simple look-ahead / look-behind.

    - New FilteringAutomatonMatcher which uses pre-filter and/or post-filter to accept or reject match results found by AutomatonMatcher.find().
    - New AutomatonMatcher.setSearchStart() to set the start index of the next find().
    - CharLookAhead and CharLookBehind to provide single char look-ahead / look-behind.
    - MatchFilter and CharFilter interfaces to allow extensions of the filtering.
    - AutomatonMatcher refactored and up to 20% faster when searching a char sequence with 0 or 1 match, same speed for more matches.
    bruno-roustant committed Nov 23, 2017
    Configuration menu
    Copy the full SHA
    6746565 View commit details
    Browse the repository at this point in the history