fix regex

This commit is contained in:
mykola2312 2024-07-25 03:01:19 +03:00
parent 8b9742ca42
commit f81b7f524e
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
test/
genc.txt

View file

@ -2,7 +2,7 @@ import re
import xml.etree.ElementTree as ET
class OpCode:
OPCODE_REGEX = re.compile("[0-9a-fA-F][0-9a-fA-F]")
OPCODE_REGEX = re.compile("[0-9A-F][0-9A-F]")
def __init__(self, ins, operand_encodings):
self.x32m = ins.attrib["x32m"]