• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bassim / super-expressive-php
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: feature/regex-parser
DEFAULT BRANCH: master
Repo Added 06 Aug 2020 08:51PM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH feature/regex-parser
branch: feature/regex-parser
CHANGE BRANCH
x
Reset
  • feature/regex-parser
  • 6-remove-postcardware
  • master
  • v1.0.4

10 Jan 2026 11:08AM UTC coverage: 92.972% (-0.3%) from 93.29%
20877397467

Pull #13

github

bassim
Refactor RegexParser with clean architecture

Major refactoring to improve code quality and maintainability:

New structure:
- Parser/Lexer.php: Tokenization with declarative token matching
- Parser/Token.php: Value object for tokens
- Parser/Node.php: Base class for AST nodes
- Parser/Quantifier.php: Encapsulates quantifier logic
- Parser/Nodes/*: Specific node types (Simple, Literal, CharSet, Container, Flag)

Benefits:
- Single Responsibility: Each class has one job
- Declarative: Mappings in const arrays instead of long switch statements
- Testable: Components can be tested independently
- Extensible: Adding new node types is straightforward

RegexParser reduced from ~900 to 233 lines.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Pull Request #13: Add RegexParser to convert regex strings to SuperExpressive code

323 of 349 new or added lines in 11 files covered. (92.55%)

754 of 811 relevant lines covered (92.97%)

15.56 hits per line

Relevant lines Covered
Build:
Build:
811 RELEVANT LINES 754 COVERED LINES
15.56 HITS PER LINE
Source Files on feature/regex-parser
  • Tree
  • List 12
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20877397467 feature/regex-parser Refactor RegexParser with clean architecture Major refactoring to improve code quality and maintainability: New structure: - Parser/Lexer.php: Tokenization with declarative token matching - Parser/Token.php: Value object for tokens - Parser/Node... Pull #13 10 Jan 2026 11:08AM UTC bassim github
92.97
20877397838 feature/regex-parser Merge 85724b433 into cfd2d4ec8 Pull #13 10 Jan 2026 11:08AM UTC web-flow github
92.97
20855458951 feature/regex-parser Add lookahead and lookbehind support to RegexParser New supported patterns: - Positive lookahead: (?=...) -> assertAhead() - Negative lookahead: (?!...) -> assertNotAhead() - Positive lookbehind: (?<=...) -> assertBehind() - Negative lookbehind... Pull #13 09 Jan 2026 02:42PM UTC bassim github
91.76
20851109137 feature/regex-parser Merge 9d92e0da0 into cfd2d4ec8 Pull #13 09 Jan 2026 11:55AM UTC web-flow github
91.8
20851091429 feature/regex-parser Add RegexParser to convert regex strings to SuperExpressive code New feature that allows users to convert existing regex patterns into SuperExpressive PHP code snippets. Usage: $code = RegexParser::parse('/^\d{3}-\d{4}$/'); Supported features... push 09 Jan 2026 11:54AM UTC bassim github
91.8
See All Builds (20)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc