Optimized basic.img for use with generic RegExp