Fix `Stack overflow in regexp matcher' match error on some linux distrib...

...ution. (regexp engine difference)

More information, please see following link:
http://lists.gnu.org/archive/html/help-gnu-emacs/2011-02/msg00116.html