From 054307b6c99ab962cfa9bcb4c4d50f3aea5406ea Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Mon, 9 May 2022 23:52:56 +0900 Subject: Make the identifier format strict --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e3d9147..644bbd9 100644 --- a/README.md +++ b/README.md @@ -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: -- cgit v1.2.3