Skip to content

Commit

Permalink
public release v1.0
Browse files Browse the repository at this point in the history
    * 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.
  • Loading branch information
3F committed Sep 22, 2016
1 parent ac60e18 commit 415e6f0
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
1.0.0
24 changes: 20 additions & 4 deletions .vssbe
Original file line number Diff line number Diff line change
Expand Up @@ -129,21 +129,37 @@
"Mode": {
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent",
"Type": "Script",
"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",
"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",
"Command__": [
"#[try{ #[IO delete.directory(\"$(odir)\", true)] }catch{ }]",
"",
"#[IO copy.directory(\"\", \"$(odir)\", true)]",
"#[IO copy.file(",
" {",
" \"$(pDir)\\declspec.h\",",
" \"$(pDir)\\regXwild.h\",",
" \"$(pDir)\\regXwildAPI.h\",",
" \"$(pDir)\\regXwildConf.h\",",
" \"$(pDir)\\typedefs.h\"",
" }, ",
" \"$(oraw)\\headers\",",
" true)]",
" ",
"#[IO copy.file({ \"Readme.md\", \"LICENSE\", \"changelog.txt\" }, \"$(oraw)\", true)]",
"",
"#[7z pack.files(",
" { ",
" {",
" \"$(oraw)\\headers\\*.h\",",
" \"$(oraw)algo.exe\", ",
" \"$(oraw)regXwild.dll\",",
" \"$(oraw)regXwild.lib\",",
" \"$(oraw)regXwild.exp\",",
" \"$(oraw)regXwild.pdb\"",
" \"$(oraw)regXwild.pdb\",",
" \"$(oraw)Readme.md\", ",
" \"$(oraw)LICENSE\",",
" \"$(oraw)changelog.txt\"",
" }, ",
" \"$(odir)regXwild_v$(pVer)[$(Configuration)][$(Platform)].zip\")]",
" \"$(odir)regXwild_v$(pVer)[$(Configuration)-$(Platform)][$(CharacterSet:regXwild)].zip\")]",
""
]
}
Expand Down
16 changes: 6 additions & 10 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

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

[![Build status](https://ci.appveyor.com/api/projects/status/92y03ofto5fbb60a/branch/master?svg=true)](https://ci.appveyor.com/project/3Fs/regxwild/branch/master)
[![release-src](https://img.shields.io/github/release/3F/regXwild.svg)](https://github.com/3F/regXwild/releases/latest)
Expand Down Expand Up @@ -29,16 +29,14 @@ The regXwild library exports the following functions (C-linkage):
REGXWILD_API bool searchExt(const tstring& data, const tstring& filter, bool ignoreCase);
```
Calling Convention: **__cdecl**
## C# & .NET
For .NET users: use [Conari](https://github.com/3F/Conari) engine for work as you like:
TODO:
```csharp
using(var l = new ConariL("regXwild.dll")) {
// ...
}
Expand Down Expand Up @@ -66,7 +64,7 @@ enum MetaSymbols
EXT algorithm:

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

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


| +icase [x32]| +icase [x64]
algorithms (see impl. from `algo`) | +icase [x32]| +icase [x64]
------------------------------------------|-------------|-------------
Find + Find | ~58ms | ~44ms
Iterator + Find | ~57ms | ~46ms
Expand Down Expand Up @@ -203,5 +201,3 @@ SINGLE | --- | ~43ms | --- | ~22ms


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


10 changes: 10 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- - - - -
regXwild
_ _ _ _ _


[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 change: 1 addition & 0 deletions regXwild.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "root", "root", "{571DA510-7
.gitignore = .gitignore
.version = .version
build.bat = build.bat
changelog.txt = changelog.txt
gnt.core = gnt.core
LICENSE = LICENSE
packages.config = packages.config
Expand Down
2 changes: 1 addition & 1 deletion regXwild/regXwildAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace net { namespace r_eg { namespace regXwild
REGXWILD_API const TCHAR* versionString()
{
// Please use '.version' file. It will be automatically updated by vssbe script.
return /*vsSBE*/_T("0.0.1"); //TODO: additional structure etc. of version data.
return /*vsSBE*/_T("1.0.0"); //TODO: additional structure etc. of version data.
}

}}}
4 changes: 0 additions & 4 deletions regXwild/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@
#include <tchar.h>
#include <string>
#include <vector>
//#include <regex>
//#include <sstream>
//#include <iostream>
//#include <assert.h>
#include <algorithm>

0 comments on commit 415e6f0

Please sign in to comment.