Creates a pattern that matches byte strings using a binary regex.
The regex matches against raw bytes converted to a Latin-1 string. Use escape sequences like \x00 to match specific byte values.
\x00
// Match bytes starting with 0x00byteStringRegex(/^\x00/)// Match ASCII "Hello"byteStringRegex(/Hello/) Copy
// Match bytes starting with 0x00byteStringRegex(/^\x00/)// Match ASCII "Hello"byteStringRegex(/Hello/)
Creates a pattern that matches byte strings using a binary regex.
The regex matches against raw bytes converted to a Latin-1 string. Use escape sequences like
\x00to match specific byte values.