summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/predefined
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit2bda8f7717adf28da4af0d34fb82f63d2868c31d (patch)
tree8d927b7b47a90c4adb646482a52613f58acd6f8c /kregexpeditor/predefined
downloadtdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.tar.gz
tdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/predefined')
-rw-r--r--kregexpeditor/predefined/General/Makefile.am5
-rw-r--r--kregexpeditor/predefined/General/anything.regexp11
-rw-r--r--kregexpeditor/predefined/General/spaces.regexp11
-rw-r--r--kregexpeditor/predefined/Makefile.am1
-rw-r--r--kregexpeditor/predefined/README2
5 files changed, 30 insertions, 0 deletions
diff --git a/kregexpeditor/predefined/General/Makefile.am b/kregexpeditor/predefined/General/Makefile.am
new file mode 100644
index 0000000..338481b
--- /dev/null
+++ b/kregexpeditor/predefined/General/Makefile.am
@@ -0,0 +1,5 @@
+pkg_DATA = spaces.regexp anything.regexp
+
+pkgdir = $(kde_datadir)/kregexpeditor/predefined/general
+
+EXTRA_DIST = $(pkg_DATA)
diff --git a/kregexpeditor/predefined/General/anything.regexp b/kregexpeditor/predefined/General/anything.regexp
new file mode 100644
index 0000000..d016906
--- /dev/null
+++ b/kregexpeditor/predefined/General/anything.regexp
@@ -0,0 +1,11 @@
+<?xml version="1.0" ?>
+<!DOCTYPE RegularExpression PUBLIC "-//KDE//KRegexpEditor DTD 1.0//EN" "http://www.blackie.dk/kreg.dtd">
+<RegularExpression version="1.0" >
+ <Compound allowReplace="1" >
+ <Title>anything</Title>
+ <Description>This regular expression matches anything.</Description>
+ <Repeat lower="0" upper="-1" >
+ <AnyChar/>
+ </Repeat>
+ </Compound>
+</RegularExpression>
diff --git a/kregexpeditor/predefined/General/spaces.regexp b/kregexpeditor/predefined/General/spaces.regexp
new file mode 100644
index 0000000..5bf8696
--- /dev/null
+++ b/kregexpeditor/predefined/General/spaces.regexp
@@ -0,0 +1,11 @@
+<?xml version="1.0" ?>
+<!DOCTYPE RegularExpression PUBLIC "-//KDE//KRegexpEditor DTD 1.0//EN" "http://www.blackie.dk/kreg.dtd">
+<RegularExpression version="1.0" >
+ <Compound allowReplace="1" >
+ <Title>spaces</Title>
+ <Description>Matches an arbitrary amount of whitespace.</Description>
+ <Repeat lower="0" upper="-1" >
+ <TextRange space="1" />
+ </Repeat>
+ </Compound>
+</RegularExpression>
diff --git a/kregexpeditor/predefined/Makefile.am b/kregexpeditor/predefined/Makefile.am
new file mode 100644
index 0000000..05812f8
--- /dev/null
+++ b/kregexpeditor/predefined/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS=General
diff --git a/kregexpeditor/predefined/README b/kregexpeditor/predefined/README
new file mode 100644
index 0000000..7740948
--- /dev/null
+++ b/kregexpeditor/predefined/README
@@ -0,0 +1,2 @@
+This directory contains the predefined regular expressions.
+Only one level of sub directories is supported.