But that doesn't differentiate between the first 36 chars and the subsequent whatsit, and includes the \0\0\0, and needs the use of $& or a substr operation to access what was matched. My guess (supported by roboticus's later post) was that the chunks were wanted separately, sans terminator. Given that assumption, the regex didn't seem so strange. But there are many paths...
In reply to Re^4: Regex trouble w/ embedded 0s?
by AnomalousMonk
in thread Regex trouble w/ embedded 0s?
by roboticus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |