Fixing and demonstrating regex