Lines Matching refs:re

6 import re
120 assert re.fullmatch(err_matches, actual_err), \
1523 re.escape("to be assigned with either 'a = &foo' or 'a = \"/path/to/node\"', not 'a = [ 00 ];'"))
1534 re.escape(r"value of property 'a' (b'\xff\x00') on /aliases in ") +
1685 re.escape("'two_u = < (number) >;', not 'two_u = < 0x1 0x2 >;'"))
1689 re.escape("'u8 = < (number) >;', not 'u8 = [ 01 ];'"))
1693 re.escape("'u16 = < (number) >;', not 'u16 = /bits/ 16 < 0x1 0x2 >;'"))
1697 re.escape("'u64 = < (number) >;', not 'u64 = /bits/ 64 < 0x1 >;'"))
1701 re.escape("'string = < (number) >;', not 'string = \"foo\\tbar baz\";'"))
1727 re.escape("'empty = < (number) (number) ... >;', not 'empty;'"))
1731 re.escape("'string = < (number) (number) ... >;', ") +
1732 re.escape("not 'string = \"foo\\tbar baz\";'"))
1750 re.escape("'u16 = [ (byte) (byte) ... ];', ") +
1751 re.escape("not 'u16 = /bits/ 16 < 0x1 0x2 >;'"))
1755 re.escape("'empty = [ (byte) (byte) ... ];', not 'empty;'"))
1773 re.escape("'u = \"string\";', not 'u = < 0x1 >;'"))
1777 re.escape("'strings = \"string\";', ")+
1778 re.escape("not 'strings = \"foo\", \"bar\", \"baz\";'"))
1781 re.escape(r"value of property 'invalid_string' (b'\xff\x00') on / ") +
1801 re.escape("'u = \"string\", \"string\", ... ;', not 'u = < 0x1 >;'"))
1805 re.escape(r"(b'foo\x00\xff\x00bar\x00') on / in ") +
1823 re.escape("'u = < &foo >;', not 'u = < 0x1 >;'"))
1827 re.escape("'string = < &foo >;', not 'string = \"foo\\tbar baz\";'"))
1847 re.escape("'u = < &foo &bar ... >;', not 'u = < 0x1 >;'"))
1851 re.escape("'string = < &foo &bar ... >;', ") +
1852 re.escape("not 'string = \"foo\\tbar baz\";'"))
1870 re.escape("'u = &foo' or 'u = \"/path/to/node\"', not 'u = < 0x1 >;'"))
2135 assert re.fullmatch(r"DT\(filename='.*', include_path=.'foo', 'bar'.\)",
2137 assert re.fullmatch("<Property 'x' at '/' in '.*'>",
2139 assert re.fullmatch("<Node /sub in '.*'>",
2144 assert re.fullmatch(r"DT\(filename='.*', include_path=.'foo', 'bar'.\)",