diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2022-05-09 23:52:56 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2022-05-10 23:14:52 +0900 |
commit | 054307b6c99ab962cfa9bcb4c4d50f3aea5406ea (patch) | |
tree | 73aea74559c64f3bcb55f3a39b2399714b616174 /README.md | |
parent | Change the default suffix of a grammar file from .vr to .vartan (diff) | |
download | cotia-054307b6c99ab962cfa9bcb4c4d50f3aea5406ea.tar.gz cotia-054307b6c99ab962cfa9bcb4c4d50f3aea5406ea.tar.xz |
Make the identifier format strict
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -292,9 +292,9 @@ Using the `fragment` keyword, you can also define a fragment that represents a p An identifier is a string that satisfies all of the following rules: -* Contains only lowercase letters (`a`-`z`), numbers (`0`-`9`), and underscores (`_`). -* The first letter is only a lowercase letter. -* The last letter is only a lowercase letter or a number. +* Contains only the lower-case letters (`a`-`z`), the digits (`0`-`9`), and the underscore (`_`). +* The first letter is only the lower-case letters. +* The last letter is only the lower-case letters or the digits. examples: |