CyberSoft CVDL Tutorial
by Rick Perry
16 September 2001
5. Concatenation and Offsets
VDL pattern elements are concatenated into larger patterns by using a comma, for example:
"abc", "def"
is the same as:
"abcdef"
- In a VDL definition the comma means followed by.
You can specify an offset range for concatenation of strings and other VDL patterns using the @ operator, for example:
"abc", @0-10, "def"
will match "abc" followed by "def" at an offset of anywhere from 0 to 10 bytes from the end of "abc". So this will match "abcdef", "abcXdef", ..., "abcXXXXXXXXXXdef", where X represents any byte.
Listen to the Audio (Quicktime required)
Previous | Next
Back