Opal regexp

Replace patterns to be a good friend with Opal :smile: