line_pattern_matcher 1.0.1 copy "line_pattern_matcher: ^1.0.1" to clipboard
line_pattern_matcher: ^1.0.1 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.1] - 2024-09-30 #

Added #

  • Introduced LogicType class with and and or constants for improved code readability and maintainability.

Changed #

  • Updated PatternConfig to use LogicType constants instead of string literals for logic specification.
  • Modified JSON serialization and deserialization to work with the new LogicType constants.
  • Updated test cases to use the new LogicType constants.

[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.

[0.1.0] - 2024-09-29 #

Added #

  • Initial development version.
  • Basic structure for LinePatternMatcher.
0
likes
160
points
45
downloads

Publisher

verified publisherchangyy.app

Weekly Downloads

A flexible Dart package for matching complex patterns across multiple lines of text. Ideal for log analysis, text processing, and pattern recognition tasks.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on line_pattern_matcher