2025-10-26 17:25:42 +01:00
|
|
|
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
|
|
|
|
|
)
|
2026-07-20 00:29:57 +02:00
|
|
|
a.a(
|
|
|
|
|
f"<td class=\"a{a}\">{a}</td>"
|
|
|
|
|
f"<td class=\"a{a}\">{a}</td>"
|
|
|
|
|
f"<td class=\"a{a}\">{a}</td>"
|
|
|
|
|
f"<td class=\"a{a}\">{a}</td>"
|
|
|
|
|
f"<td class=\"a{a}\">{a}</td>"
|
|
|
|
|
f"<td class=\"a{a}\">{a}</td>"
|
|
|
|
|
f"<td class=\"a{a}\">{a}</td>"
|
|
|
|
|
f"<td class=\"a{a}\">{a}</td>"
|
|
|
|
|
)
|
2025-10-26 17:25:42 +01:00
|
|
|
print("foo %s bar %d" % ("arg1", 2))
|
|
|
|
|
# ^ @printf
|