php-sequence-matcher

A longest sequence matcher. The logic is primarily based on the Python difflib package.

BSD-3-CLAUSE License

Downloads
2.6M
Stars
7
Committers
2

Bot releases are hidden (Show)

php-sequence-matcher - 4.0.1 Latest Release

Published by jfcherng over 1 year ago

Breaking Changes

  • Bump min PHP version requirement to 8.1
  • Some refactoring with new PHP features
php-sequence-matcher - 3.2.3

Published by jfcherng over 4 years ago

  • chore: allow PHP 8
php-sequence-matcher -

Published by jfcherng over 5 years ago

  • Code tidy.
php-sequence-matcher -

Published by jfcherng over 5 years ago

  • Add SequenceMatcher::OP_NOP which is 0.
php-sequence-matcher -

Published by jfcherng over 5 years ago

  • [BC Break] Always use int OP.

    • 'eq' is 1
    • 'del' is 2
    • 'ins' is 4
    • 'rep' is 8
php-sequence-matcher -

Published by jfcherng over 5 years ago

  • [BC Break] Make constants name shorter.
  • Add ability to generate int opcode.
Package Rankings
Top 5.43% on Packagist.org
Badges
Extracted from project README
GitHub Workflow Status (branch) Codacy grade Packagist Packagist Version Project license GitHub stars Donate to this project using Paypal