Skip to content

regen/regcomp.pl - totally new regcomp.sym structure using data driven conf#24546

Open
demerphq wants to merge 1 commit into
bleadfrom
yves/refactor_regcomp_sym
Open

regen/regcomp.pl - totally new regcomp.sym structure using data driven conf#24546
demerphq wants to merge 1 commit into
bleadfrom
yves/refactor_regcomp_sym

Conversation

@demerphq

@demerphq demerphq commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

no more cryptic config file to read. no more confusion.

For years now we have used this cryptic config file to define the regex engine opcode structure. The format of the data it contains is pretty cryptic, and it always feels like something might go boom if you change it.

This patch changes it to be a Perl data structure which is read and can be written by regcomp.pl. If we want to refactor the config format it should now be much easier to do so.

I tried to structure things so it wouldn't feel too different from the old format, but also be much more clear what is right and wrong, and etc. The patch includes pod and documentation so i wont duplicate that in this message.

  • This set of changes does not require a perldelta entry.

…n conf

no more cryptic config file to read. no more confusion.

For years now we have used this cryptic config file to define the regex
engine opcode structure. The format of the data it contains is pretty
cryptic, and it always feels like something might go boom if you change
it.

This patch changes it to be a Perl data structure which is read and can
be written by regcomp.pl. If we want to refactor the config format it
should now be much easier to do so.

I tried to structure things so it wouldn't feel too different from the
old format, but also be much more clear what is right and wrong, and
etc. The patch includes pod and documentation so i wont duplicate that
in this message.
@demerphq demerphq force-pushed the yves/refactor_regcomp_sym branch from 407c8d6 to f7c35e9 Compare July 8, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants