summaryrefslogtreecommitdiffstats
path: root/kbabel
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel')
-rw-r--r--kbabel/datatools/regexp/main.cc2
-rw-r--r--kbabel/datatools/regexp/regexplist.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/kbabel/datatools/regexp/main.cc b/kbabel/datatools/regexp/main.cc
index eca0be81..7d3c3120 100644
--- a/kbabel/datatools/regexp/main.cc
+++ b/kbabel/datatools/regexp/main.cc
@@ -110,7 +110,7 @@ bool RegExpTool::run( const TQString& command, void* data, const TQString& datat
void RegExpTool::loadExpressions()
{
// TODO: Change file path
- TQFile file( TQDir::homeDirPath() + "/.kde/share/apps/kbabel/regexplist.xml" );
+ TQFile file( TQDir::homeDirPath() + "/.trinity/share/apps/kbabel/regexplist.xml" );
TQDomDocument doc;
if ( ! file.open( IO_ReadOnly ) ) {
diff --git a/kbabel/datatools/regexp/regexplist.xml b/kbabel/datatools/regexp/regexplist.xml
index 1cd0b23d..72f647cb 100644
--- a/kbabel/datatools/regexp/regexplist.xml
+++ b/kbabel/datatools/regexp/regexplist.xml
@@ -10,7 +10,7 @@
...
</regexplist>
- Right now the file should be copied to ~/.kde/share/apps/kbabel/regexplist.xml. I'm sorry this cannot be configured but hope it will in the future. By the time if you need another location you have to modify the source code (main.cc)
+ Right now the file should be copied to ~/.trinity/share/apps/kbabel/regexplist.xml. I'm sorry this cannot be configured but hope it will in the future. By the time if you need another location you have to modify the source code (main.cc)
You'll see in the example that most expressions start with '(^| |\\t)+' and then a word. This is to ensure it _is_ a word. Using the usual expressions to ensure we pick up a whole word doesn't work for the catalan language. Anyway, if you need to match a tab be sure you use the '\\t' expression.