Regular Expressions in JavaScript don't support the single-line mode

Today, while working on a gadget involving some client-side development I have discovered that JavaScript doesn't support the single-line mode for Regular Expressions (Regex). Now why is that bad? What is the Regular Expression Single-line mode? As you know Regular Expressions work with patters. Using various metacharacters you can match