Fix #398.  Map common Vim-style regex characters to their equivalent
Java-style regex characters.