fix regex
This commit is contained in:
parent
8b9742ca42
commit
f81b7f524e
2 changed files with 3 additions and 1 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
test/
|
||||
genc.txt
|
||||
2
genc.py
2
genc.py
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue