Regular Expressions 101

Community Patterns

DOS ASM label+opcode+rest

1

Regular Expression
Python

r"
^([A-Z]+):\s+([A-Z]+)\s*(.*)$
"
m

Description

DOS ASM Label plus Opcode and operators

Submitted by anonymous - 9 years ago