Detect potentially catastrophic exponential-time regular expressions by limiting the star height to 1.