Skip to content

変数名として使えない文字を _ にエスケープする #105

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

Merged
merged 3 commits into from
Oct 24, 2018

Conversation

takaokouji
Copy link

refs #97

@takaokouji
Copy link
Author

このままだと、日本語が全て_になる。記号のみをエスケープすべきだった。

@takaokouji
Copy link
Author

制御コードの正規表現

/[\x00-\x1f\x7f-\x9f]/

記号は_以外をそのまま書く想定。

@takaokouji takaokouji merged commit bc46247 into develop Oct 24, 2018
@takaokouji takaokouji deleted the issue/97 branch October 24, 2018 08:40
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.

1 participant