line_pattern_matcher 1.0.0 line_pattern_matcher: ^1.0.0 copied to clipboard
A flexible Dart package for matching complex patterns across multiple lines of text. Ideal for log analysis, text processing, and pattern recognition tasks.
Changelog #
All notable changes to the LinePatternMatcher package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.0.0] - 2024-09-30 #
Added #
- Initial release of LinePatternMatcher.
- Implemented PatternConfig class for defining individual patterns.
- Created LinePatternMatcher class for matching patterns across multiple lines of text.
- Added support for different pattern types: firstLine, secondLine, lastLine, and sequential.
- Implemented AND/OR logic for keyword matching.
- Added JSON serialization and deserialization for patterns.
- Implemented printPatterns and getPatternsString methods for easy pattern visualization.
- Created comprehensive test suite covering various scenarios.
Changed #
- Refactored pattern matching logic to use PatternConfig objects instead of raw maps.
Fixed #
- Corrected issue with accessing PatternConfig properties in match method.