From 230ca2053405c5ccd427ad7219c8d84f05a13640 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Sat, 7 May 2011 09:31:12 +0200 Subject: [PATCH] aspell dict: slightly more thorough garbager filtering --- src/aspell/rclaspell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aspell/rclaspell.cpp b/src/aspell/rclaspell.cpp index d8a8e16b..794a741f 100644 --- a/src/aspell/rclaspell.cpp +++ b/src/aspell/rclaspell.cpp @@ -261,7 +261,7 @@ public: continue; if ('A' <= m_input->at(0) && m_input->at(0) <= 'Z') continue; - if (m_input->find_first_of("0123456789.@+-,#_") != string::npos) + if (m_input->find_first_of(" !\"#$%&()*+,-./0123456789:;<=>?@[\\]^_`{|}~") != string::npos) continue; // Got a non-empty sort-of appropriate term, let's send it to // aspell