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

Variables should be able to start with underscore (_) #63

Open
clphillips opened this issue Mar 22, 2013 · 0 comments
Open

Variables should be able to start with underscore (_) #63

clphillips opened this issue Mar 22, 2013 · 0 comments

Comments

@clphillips
Copy link

Don't have time to fork and push right now, but before I forget...

line 173 of /h2o/parser.php:

From:

        self::$name         = '/[a-zA-Z][a-zA-Z0-9-_]*(?:\.[a-zA-Z_0-9][a-zA-Z0-9_-]*)*/';

To:

        self::$name         = '/[a-zA-Z_][a-zA-Z0-9-_]*(?:\.[a-zA-Z_0-9][a-zA-Z0-9_-]*)*/';
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

No branches or pull requests

1 participant