Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcolor should accept spaces and periods in color names (at least) #2451

Open
xworld21 opened this issue Dec 21, 2024 · 0 comments
Open

xcolor should accept spaces and periods in color names (at least) #2451

xworld21 opened this issue Dec 21, 2024 · 0 comments

Comments

@xworld21
Copy link
Contributor

Beamer color names include spaces and periods (e.g. alerted text.fg). This won't be accepted by the xcolor binding because the regex is too restrictive:

my $name_re = qr/|[-]*\.|[-]*[a-zA-Z0-9@\*_]+|[a-zA-Z0-9@\*\-_]+/;
my $ne_name_re = qr/[-]*\.|[-]*[a-zA-Z0-9@\*_]+|[a-zA-Z0-9@\*\-_]+/;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants