Ensure magic in rexexp