Skip to content

Commit 415e6f0

Browse files
committed
public release v1.0
* First public release. regXwild - Fast and powerful wildcards ! in addition to slow regex engine and more... The initial non-public versions from 2013-2014 you can find in sandbox.
1 parent ac60e18 commit 415e6f0

File tree

7 files changed

+39
-20
lines changed

7 files changed

+39
-20
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.1
1+
1.0.0

.vssbe

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,21 +129,37 @@
129129
"Mode": {
130130
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent",
131131
"Type": "Script",
132-
"Command": "#[try{ #[IO delete.directory(\"$(odir)\", true)] }catch{ }]\n\n#[IO copy.directory(\"\", \"$(odir)\", true)]\n\n#[7z pack.files(\n { \n \"$(oraw)algo.exe\", \n \"$(oraw)regXwild.dll\",\n \"$(oraw)regXwild.lib\",\n \"$(oraw)regXwild.exp\",\n \"$(oraw)regXwild.pdb\"\n }, \n \"$(odir)regXwild_v$(pVer)[$(Configuration)][$(Platform)].zip\")]\n",
132+
"Command": "#[try{ #[IO delete.directory(\"$(odir)\", true)] }catch{ }]\n\n#[IO copy.directory(\"\", \"$(odir)\", true)]\n#[IO copy.file(\n {\n \"$(pDir)\\declspec.h\",\n \"$(pDir)\\regXwild.h\",\n \"$(pDir)\\regXwildAPI.h\",\n \"$(pDir)\\regXwildConf.h\",\n \"$(pDir)\\typedefs.h\"\n }, \n \"$(oraw)\\headers\",\n true)]\n \n#[IO copy.file({ \"Readme.md\", \"LICENSE\", \"changelog.txt\" }, \"$(oraw)\", true)]\n\n#[7z pack.files(\n {\n \"$(oraw)\\headers\\*.h\",\n \"$(oraw)algo.exe\", \n \"$(oraw)regXwild.dll\",\n \"$(oraw)regXwild.lib\",\n \"$(oraw)regXwild.exp\",\n \"$(oraw)regXwild.pdb\",\n \"$(oraw)Readme.md\", \n \"$(oraw)LICENSE\",\n \"$(oraw)changelog.txt\"\n }, \n \"$(odir)regXwild_v$(pVer)[$(Configuration)-$(Platform)][$(CharacterSet:regXwild)].zip\")]\n",
133133
"Command__": [
134134
"#[try{ #[IO delete.directory(\"$(odir)\", true)] }catch{ }]",
135135
"",
136136
"#[IO copy.directory(\"\", \"$(odir)\", true)]",
137+
"#[IO copy.file(",
138+
" {",
139+
" \"$(pDir)\\declspec.h\",",
140+
" \"$(pDir)\\regXwild.h\",",
141+
" \"$(pDir)\\regXwildAPI.h\",",
142+
" \"$(pDir)\\regXwildConf.h\",",
143+
" \"$(pDir)\\typedefs.h\"",
144+
" }, ",
145+
" \"$(oraw)\\headers\",",
146+
" true)]",
147+
" ",
148+
"#[IO copy.file({ \"Readme.md\", \"LICENSE\", \"changelog.txt\" }, \"$(oraw)\", true)]",
137149
"",
138150
"#[7z pack.files(",
139-
" { ",
151+
" {",
152+
" \"$(oraw)\\headers\\*.h\",",
140153
" \"$(oraw)algo.exe\", ",
141154
" \"$(oraw)regXwild.dll\",",
142155
" \"$(oraw)regXwild.lib\",",
143156
" \"$(oraw)regXwild.exp\",",
144-
" \"$(oraw)regXwild.pdb\"",
157+
" \"$(oraw)regXwild.pdb\",",
158+
" \"$(oraw)Readme.md\", ",
159+
" \"$(oraw)LICENSE\",",
160+
" \"$(oraw)changelog.txt\"",
145161
" }, ",
146-
" \"$(odir)regXwild_v$(pVer)[$(Configuration)][$(Platform)].zip\")]",
162+
" \"$(odir)regXwild_v$(pVer)[$(Configuration)-$(Platform)][$(CharacterSet:regXwild)].zip\")]",
147163
""
148164
]
149165
}

Readme.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Fast and powerful wildcards ! `*,|,?,^,$,+,#,>` in addition to slow regexp engine and more...
2+
[regXwild](https://github.com/3F/regXwild) - Fast and powerful wildcards ! `*,|,?,^,$,+,#,>` in addition to slow regex engine and more...
33

44
[![Build status](https://ci.appveyor.com/api/projects/status/92y03ofto5fbb60a/branch/master?svg=true)](https://ci.appveyor.com/project/3Fs/regxwild/branch/master)
55
[![release-src](https://img.shields.io/github/release/3F/regXwild.svg)](https://github.com/3F/regXwild/releases/latest)
@@ -29,16 +29,14 @@ The regXwild library exports the following functions (C-linkage):
2929
REGXWILD_API bool searchExt(const tstring& data, const tstring& filter, bool ignoreCase);
3030
```
3131
32+
Calling Convention: **__cdecl**
33+
3234
3335
## C# & .NET
3436
3537
For .NET users: use [Conari](https://github.com/3F/Conari) engine for work as you like:
3638
37-
38-
TODO:
39-
4039
```csharp
41-
4240
using(var l = new ConariL("regXwild.dll")) {
4341
// ...
4442
}
@@ -66,7 +64,7 @@ enum MetaSymbols
6664
EXT algorithm:
6765

6866
```cpp
69-
enum MetaSymbols{
67+
enum MetaSymbols {
7068
MS_ANY = _T('*'),
7169
MS_ANYSP = _T('>'), //as [^/\\]+
7270
MS_SPLIT = _T('|'),
@@ -81,7 +79,7 @@ enum MetaSymbols{
8179
All features of regXwild you can see with Unit-Tests - regXwildTest subproject.
8280

8381
```cpp
84-
searchEss(datam, _T("^main*is ok$"));
82+
searchEss(data, _T("^main*is ok$"));
8583
searchEss(data, _T("^new*pro?ection"));
8684
searchEss(data, _T("pro*system"));
8785
searchEss(data, _T("sys###s"));
@@ -169,7 +167,7 @@ Test Data:
169167
* 340 Symbols of Unicode, 10000 iterations, Filter: `L"nime**haru*02*Magica"`
170168

171169

172-
| +icase [x32]| +icase [x64]
170+
algorithms (see impl. from `algo`) | +icase [x32]| +icase [x64]
173171
------------------------------------------|-------------|-------------
174172
Find + Find | ~58ms | ~44ms
175173
Iterator + Find | ~57ms | ~46ms
@@ -203,5 +201,3 @@ SINGLE | --- | ~43ms | --- | ~22ms
203201

204202

205203
/[archive](https://github.com/3F/regXwild/wiki/archive-speedtest-sandbox)
206-
207-

changelog.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
- - - - -
2+
regXwild
3+
_ _ _ _ _
4+
5+
6+
[v1.0]
7+
8+
* First public release.
9+
regXwild - Fast and powerful wildcards ! in addition to slow regex engine and more...
10+
The initial non-public versions from 2013-2014 you can find in sandbox.

regXwild.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "root", "root", "{571DA510-7
1414
.gitignore = .gitignore
1515
.version = .version
1616
build.bat = build.bat
17+
changelog.txt = changelog.txt
1718
gnt.core = gnt.core
1819
LICENSE = LICENSE
1920
packages.config = packages.config

regXwild/regXwildAPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace net { namespace r_eg { namespace regXwild
4242
REGXWILD_API const TCHAR* versionString()
4343
{
4444
// Please use '.version' file. It will be automatically updated by vssbe script.
45-
return /*vsSBE*/_T("0.0.1"); //TODO: additional structure etc. of version data.
45+
return /*vsSBE*/_T("1.0.0"); //TODO: additional structure etc. of version data.
4646
}
4747

4848
}}}

regXwild/stdafx.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,4 @@
99
#include <tchar.h>
1010
#include <string>
1111
#include <vector>
12-
//#include <regex>
13-
//#include <sstream>
14-
//#include <iostream>
15-
//#include <assert.h>
1612
#include <algorithm>

0 commit comments

Comments
 (0)