Implement ogex explain Command to Visualize Matching Process #20
Labels
No labels
Epic
GHA
Release
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
major
question
rust
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
NiXTheDev/Ogex#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal: Provide a debugging tool for users to understand how their regex matches (or fails to match) a given input.
Add a new CLI subcommand
ogex explain <pattern> <input>that shows step-by-step how the engine processes the input, including:Implementation Idea:
NfaSimulatorthat logs events.engine.rs, conditionally compile logging when a feature flag is enabled.Example Output: