Account for the possibility of supporting non-UTF8 patterns, and/or not retaining the entire pattern contiguously