cleanup comments
This commit is contained in:
@@ -12,13 +12,11 @@ var (
|
|||||||
indexRegex = regexp.MustCompile(`^-?\d+$`)
|
indexRegex = regexp.MustCompile(`^-?\d+$`)
|
||||||
sliceRegex = regexp.MustCompile(`^((\-?\d+:\-?\d*)|(\-?\d*:\-?\d+))$`)
|
sliceRegex = regexp.MustCompile(`^((\-?\d+:\-?\d*)|(\-?\d*:\-?\d+))$`)
|
||||||
|
|
||||||
// According to ECMAScript 2024, identifiers can include:
|
|
||||||
// - Unicode letters
|
// - Unicode letters
|
||||||
// - $, _
|
|
||||||
// - Unicode combining marks
|
// - Unicode combining marks
|
||||||
// - Unicode digits
|
// - Unicode digits
|
||||||
// - Unicode connector punctuation
|
// - Unicode connector punctuation
|
||||||
// Additional characters allowed for compatibility:
|
// - $, _
|
||||||
// - hyphen (-)
|
// - hyphen (-)
|
||||||
// \p{L} - any kind of letter from any language
|
// \p{L} - any kind of letter from any language
|
||||||
// \p{Mn}\p{Mc} - combining marks and spacing combining marks
|
// \p{Mn}\p{Mc} - combining marks and spacing combining marks
|
||||||
|
|||||||
Reference in New Issue
Block a user