diff options
Diffstat (limited to 'kregexpeditor/predefined')
-rw-r--r-- | kregexpeditor/predefined/General/Makefile.am | 5 | ||||
-rw-r--r-- | kregexpeditor/predefined/General/anything.regexp | 11 | ||||
-rw-r--r-- | kregexpeditor/predefined/General/spaces.regexp | 11 | ||||
-rw-r--r-- | kregexpeditor/predefined/Makefile.am | 1 | ||||
-rw-r--r-- | kregexpeditor/predefined/README | 2 |
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. |