<indentfold># comment with ALERT

load<beginfold id='1'>(</beginfold id='1'>"//:rules.bzl", "my_rule"<endfold id='1'>)</endfold id='1'>

</indentfold><beginfold id='2'>'''</beginfold id='2'> multiline
    comment
    ###
<indentfold>    <endfold id='2'>'''</endfold id='2'>

// alert check, no word delimiter check at start of word, bug 397719
#TODO

a = 100_000
b = 856_264.65
c = 0x420_F52

def func<beginfold id='1'>(</beginfold id='1'>x<endfold id='1'>)</endfold id='1'>:
    <beginfold id='3'>"""</beginfold id='3'> EXTENDED API docs <endfold id='3'>"""</endfold id='3'>
    if x == 42:
        my_rule<beginfold id='1'>(</beginfold id='1'><endfold id='1'>)</endfold id='1'>
        c1 = <beginfold id='4'>{</beginfold id='4'><endfold id='4'>}</endfold id='4'>
</indentfold>        c2 = <beginfold id='4'>{</beginfold id='4'>
            2.4: "a",
            0x42: True,
<indentfold>            <endfold id='4'>}</endfold id='4'>
        a1 = <beginfold id='5'>[</beginfold id='5'><endfold id='5'>]</endfold id='5'>
</indentfold>        a2 = <beginfold id='5'>[</beginfold id='5'>
            "a", 032, <beginfold id='1'>(</beginfold id='1'>
<indentfold>                <endfold id='1'>)</endfold id='1'><endfold id='5'>]</endfold id='5'>
    else:
</indentfold>        print<beginfold id='1'>(</beginfold id='1'><beginfold id='3'>"""</beginfold id='3'>multi
            line
<indentfold>            string<endfold id='3'>"""</endfold id='3'><endfold id='1'>)</endfold id='1'>
        print<beginfold id='1'>(</beginfold id='1'>"single \
                continued line "<endfold id='1'>)</endfold id='1'>
        print<beginfold id='1'>(</beginfold id='1'>'single line'<endfold id='1'>)</endfold id='1'>
    return float<beginfold id='1'>(</beginfold id='1'>len<beginfold id='1'>(</beginfold id='1'>a2<endfold id='1'>)</endfold id='1'><endfold id='1'>)</endfold id='1'>

my_string = "Hello {name}, you are {age} years old".format<beginfold id='1'>(</beginfold id='1'>name, age<endfold id='1'>)</endfold id='1'>
my_bytes = b"Hello {regular_text_color}"

a = "Escapes in String \U12345678 \xAB \""
</indentfold>b = <beginfold id='2'>'''</beginfold id='2'>\'''
<indentfold><endfold id='2'>'''</endfold id='2'>
c = <beginfold id='2'>'''</beginfold id='2'>\'<endfold id='2'>'''</endfold id='2'>
d = b'\u1234a\xffé\12k\n\g\
s\
\"\ '
e = rb'\u1234aé\n\g\
'
e2 = r'\u1234aé\n\g\
'
f = <beginfold id='3'>b"""</beginfold id='3'> é <endfold id='3'>"""</endfold id='3'>
g = <beginfold id='3'>b"""</beginfold id='3'>\"<endfold id='3'>"""</endfold id='3'>
h = 'a' + \
    '\x12'
i = b"t\e's\t"
j = rb"t\e's\t"
k = r"\\" + \
rb'\\' + \
<beginfold id='3'>r"""</beginfold id='3'>\\<endfold id='3'>"""</endfold id='3'> + \
<beginfold id='2'>r'''</beginfold id='2'>\\<endfold id='2'>'''</endfold id='2'>

"Escapes in Doc/Comment String \u1234 \xAb \"\\"
<beginfold id='2'>'''</beginfold id='2'> Doc/Comment String \N{123} \'<endfold id='2'>'''</endfold id='2'>
<beginfold id='3'>"""</beginfold id='3'> Doc/Comment String \17 \x1f \n \" \\<endfold id='3'>"""</endfold id='3'>

# Decimal, Hex, Binary, Octal
a = 1_2_34L
b = 0_0_00_0
c = 0xA_3f_43D
d = 0b0_0_1_01
e = 0o71_2_34
# Float
d = 1.1E+3
e = 1.E+3
f = .1E+3
g = 1E+3
h = 1.1
i = 1.
j = .1
k =  1
l = 1_0.e+3_22 + .2_1e2 + 11_1.
# Complex
m = 1.1E+3j
n = 1.E+3j
o = .1E+3j
p = 1E+3j
q = 1.1j
r = 1.j
s = .1j
t =  1j
u = 1_0.e+3_22j + .2_1e2j + 11_1.j

# Invalid numbers
aaa.123
aaa123
.0x123

# reserved keywords
as
assert
async
await
class
del
except
finally
from
global
import
is
nonlocal
raise
try
while
with
yield

"\\\\\\\\\\ENSURE THAT THIS AND THE FOLLOWING LINES ARE AT THE <endfold id='6'>END</endfold id='6'> OF THE FILE\\\\\\\\\\ \
"
</indentfold>a = 'otherwise the next line will be
<indentfold>stuck on the Error attribute'
br"Strings delimited by single quotes (' or ")
can NOT be defined across multiple lines
unless escaped with \
</indentfold>"
