mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
19 lines
379 B
Python
19 lines
379 B
Python
import re
|
|
|
|
re_test = re.compile(r"^(?P<year>\d{4}) (?P<day>\d) \w\s{,3}$")
|
|
# ^ @regex
|
|
re_test = re.compile(
|
|
# comment
|
|
# ^ @comment
|
|
r"^(?P<year>\d{4}) "
|
|
# comment
|
|
# ^ @comment
|
|
r"(?P<day>\d) \w\s{,3}$"
|
|
# ^ @regex
|
|
# comment
|
|
# comment
|
|
# ^ @comment
|
|
)
|
|
print("foo %s bar %d" % ("arg1", 2))
|
|
# ^ @printf
|