-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
cat:langCategory: Language designCategory: Language designcmp:compilerComponent: Compiler backend (e.g., annotation processors, code generators)Component: Compiler backend (e.g., annotation processors, code generators)dfct:easyDifficulty: EasyDifficulty: Easy
Description
@regexp-constraint("[a-zA-Z]+")
unboxed alpha (text);
As #206 suggested, it might be useful if text is validated by the regular expression that gives in an annotation.
Alpha('1234') # error
Alpha("abcABC') # it works
Metadata
Metadata
Assignees
Labels
cat:langCategory: Language designCategory: Language designcmp:compilerComponent: Compiler backend (e.g., annotation processors, code generators)Component: Compiler backend (e.g., annotation processors, code generators)dfct:easyDifficulty: EasyDifficulty: Easy