Skip to content

Conversation

@redteampanda-ng
Copy link
Contributor

@redteampanda-ng redteampanda-ng commented Jun 14, 2023

This is my first lexer I tried my hands on. Since we are dealing with a lot of YARA syntax in our technical documentation, I wanted to write a lexer for this. Please let me know if there is potential (most likely) to improve the regex.
Also had to remove the number and hex regex, since they caused some problems.

Thank you

Copy link
Contributor

@jeanas jeanas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more comments, should be good to go afterwards.

@jeanas
Copy link
Contributor

jeanas commented Jun 15, 2023

LGTM, but please have a look at the CI failures. Basically, you need to rerun tox -e mapfiles and tox -- --update-goldens.

@redteampanda-ng
Copy link
Contributor Author

Should be working now

@jeanas jeanas merged commit 88c23ea into pygments:master Jun 16, 2023
@jeanas
Copy link
Contributor

jeanas commented Jun 16, 2023

Thanks!

@Anteru Anteru added this to the 2.16.0 milestone Aug 5, 2023
@Anteru Anteru added the A-lexing area: changes to individual lexers label Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lexing area: changes to individual lexers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants