search library
Substring search APIs and algorithms.
Use StringSearch for stateless convenience helpers or StringSearchEngine when you want instance-based control and reuse.
Classes
- CompiledPattern
- Represents a pre-compiled search pattern for efficient reuse.
- SearchMatch
- Represents a successful match of a pattern in a text.
- StringSearch
- Static facade for common string search operations.
- StringSearchEngine
- Engine for performing substring searches using various algorithms.
Enums
- SearchAlgorithm
- Enumeration of supported substring search algorithms.
Extensions
- StringSearchExtensions on String
- Convenience extensions for using StringSearch on String instances.
Exceptions / Errors
- AlgorithmNotSupportedException
- Thrown when an algorithm is not supported/registered.
- InvalidConfigurationException
- Thrown when options/configuration are invalid.
- InvalidInputException
- Thrown when a required input is invalid (e.g., empty pattern for compile).
- StringSearchAlgorithmsException
- Base exception for the package.