Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix apertium regex

  • Loading branch information...
commit 1ac5fa49dbd7fb034e535216e2ef7f934b8eb9f9 1 parent 02e9690
Jürgen Hötzel authored June 10, 2009

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  babel.el
3  babel.el
@@ -892,7 +892,8 @@ If optional argument HERE is non-nil, insert version number at point."
892 892
 
893 893
 (defun babel-apertium-wash ()
894 894
   "Extract the useful information from the XML returned by apertium."
895  
-   (if (not (babel-wash-regex "<translation>\\(.*?\\)</translation>"))
  895
+   (if (not (babel-wash-regex 
  896
+	     "<translation>\\(\\(.\\|\n\\)*?\\)</translation>"))
896 897
 	     (error "Apertium XML has changed ; please look for a
897 898
 	     new version of babel.el")))
898 899
 

0 notes on commit 1ac5fa4

Please sign in to comment.
Something went wrong with that request. Please try again.