It's regex combined with a "replacement routine" offered by the C++ std lib . Have a look at https://en.wikipedia.org/wiki/Regular_expression. In short, it looks for anything which looks like (alphanumeric character)(maybe some more alphanumeric characters)(whitespace or end), and replaces the captured parts (in parentheses) as (maybe some more alphanumeric characters)(alphanumeric character)ay(whitespace or end). Imho, the last capture group should actually also include punctuation to work correctly.
this should really be part of the description
It's regex combined with a "replacement routine" offered by the C++ std lib . Have a look at https://en.wikipedia.org/wiki/Regular_expression. In short, it looks for anything which looks like (alphanumeric character)(maybe some more alphanumeric characters)(whitespace or end), and replaces the captured parts (in parentheses) as (maybe some more alphanumeric characters)(alphanumeric character)ay(whitespace or end). Imho, the last capture group should actually also include punctuation to work correctly.
Play reverses immediately, no need to pay the seond penalty
Execution lands wherever the jnz says, skipping over other instructions.
jnz +1 +2
dec a
inc a
The above code skips over "dec a" to perform "inc a". The +2 is relative to the "jnz" line, and +1 is always non-zero.
Did you ever figure this out?
Yes,
jnz REGISTER OFFSET
will jump byOFFSET
operations back/forward.The description clearly explains how it works: