rj1
about | log | files | refs
commit ef229b9d107b21517dfc2ae26a6766f9b0eeb308
parent 74400b1fc3126fbf75ec35e20fbe59b15c5b3702
author: rj1 <[email protected]>
date:   Sun, 11 Dec 2022 01:48:43 -0600

remove old regex

Diffstat:
Mircart2html | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/ircart2html b/ircart2html @@ -9,11 +9,9 @@ def main(args): with open(args.file, "r") as file: input = file.read() - print(input) input = input.replace(" ", "&nbsp;") lines = input.split("\n") - color_code_regex = re.compile(r"(\d*),?(\d*)?") color_code_regex = re.compile(r"(\d{1,2}),?(\d{1,2})?") out = []