RangeFinder

public protocol RangeFinder: MatchBehavior

The matcher that can find the location of the match

  • finds the location and size of the match in the given string

    Declaration

    Swift

    func locate(in: String) -> StringRange?