# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. cases: - rego: | + - * # This is a comment / [ ] {} ( ) & | , . < <= = == > >= tIS+t[# #[ ] {} ( ) & | #, . #< <= = == > >=*/ a] 1 0 1230 0.1 0.123 123.0 123.12345 1.023e308 1 . # "Hello" "Hello\tWorld" "" "abc" `This is a raw string` . 5 set ( ) set( ) set( 5 ) # The following will be lexed as 'set' '(' since there is no matching ')'. set( note: all-tokens tokens: [ "+", "-", "*", "/", "[", "]", "{", "}", "(", ")", "&", "|", ",", ".", "<", "<=", "=", "==", ">", ">=", "tIS", "+", "t", "[", "a", "]", "1", "0", "1230", "0.1", "0.123", "123.0", "123.12345", "1.023e308", "1", ".", "Hello", "Hello\\tWorld", "", "abc", "This is\na raw string", ".", "5", "set", "(", ")", "set(", ")", "set", "(", "5", ")", "set", "(", ""]