feat: publish Regex Tools 0.2.0
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
# Engine assets
|
||||
|
||||
Regex Tools 0.1.0 executes ECMAScript through the browser's native `RegExp`
|
||||
engine. It therefore ships no external engine binary or WebAssembly pack.
|
||||
Regex Tools executes ECMAScript through the browser's native `RegExp` engine.
|
||||
It also ships the declared, self-hosted PCRE2 10.47 WebAssembly pack in
|
||||
`pcre2/`.
|
||||
|
||||
Future flavour packs will be built from pinned, documented open-source
|
||||
revisions and placed in versioned subdirectories here.
|
||||
The PCRE2 pack is built from pinned, documented open-source code and
|
||||
toolchain revisions. `engine-metadata.json`, `SHA256SUMS` and `LICENSE.txt`
|
||||
travel with the runtime files and are verified by the release gate.
|
||||
|
||||
104
public/engines/pcre2/LICENSE.txt
Normal file
104
public/engines/pcre2/LICENSE.txt
Normal file
@@ -0,0 +1,104 @@
|
||||
PCRE2 Licence
|
||||
=============
|
||||
|
||||
| SPDX-License-Identifier: | BSD-3-Clause WITH PCRE2-exception |
|
||||
|---------|-------|
|
||||
|
||||
PCRE2 is a library of functions to support regular expressions whose syntax
|
||||
and semantics are as close as possible to those of the Perl 5 language.
|
||||
|
||||
Releases 10.00 and above of PCRE2 are distributed under the terms of the "BSD"
|
||||
licence, as specified below, with one exemption for certain binary
|
||||
redistributions. The documentation for PCRE2, supplied in the "doc" directory,
|
||||
is distributed under the same terms as the software itself. The data in the
|
||||
testdata directory is not copyrighted and is in the public domain.
|
||||
|
||||
The basic library functions are written in C and are freestanding. Also
|
||||
included in the distribution is a just-in-time compiler that can be used to
|
||||
optimize pattern matching. This is an optional feature that can be omitted when
|
||||
the library is built. The just-in-time compiler is separately licensed under the
|
||||
"2-clause BSD" licence.
|
||||
|
||||
|
||||
COPYRIGHT
|
||||
---------
|
||||
|
||||
### The basic library functions
|
||||
|
||||
Written by: Philip Hazel
|
||||
Email local part: Philip.Hazel
|
||||
Email domain: gmail.com
|
||||
|
||||
Retired from University of Cambridge Computing Service,
|
||||
Cambridge, England.
|
||||
|
||||
Copyright (c) 1997-2007 University of Cambridge
|
||||
Copyright (c) 2007-2024 Philip Hazel
|
||||
All rights reserved.
|
||||
|
||||
### PCRE2 Just-In-Time compilation support
|
||||
|
||||
Written by: Zoltan Herczeg
|
||||
Email local part: hzmester
|
||||
Email domain: freemail.hu
|
||||
|
||||
Copyright (c) 2010-2024 Zoltan Herczeg
|
||||
All rights reserved.
|
||||
|
||||
### Stack-less Just-In-Time compiler
|
||||
|
||||
Written by: Zoltan Herczeg
|
||||
Email local part: hzmester
|
||||
Email domain: freemail.hu
|
||||
|
||||
Copyright (c) 2009-2024 Zoltan Herczeg
|
||||
All rights reserved.
|
||||
|
||||
The code in the `deps/sljit` directory has its own LICENSE file.
|
||||
|
||||
### All other contributions
|
||||
|
||||
Many other contributors have participated in the authorship of PCRE2. As PCRE2
|
||||
has never required a Contributor Licensing Agreement, or other copyright
|
||||
assignment agreement, all contributions have copyright retained by each
|
||||
original contributor or their employer.
|
||||
|
||||
|
||||
THE "BSD" LICENCE
|
||||
-----------------
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notices,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notices, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the University of Cambridge nor the names of any
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES
|
||||
------------------------------------------
|
||||
|
||||
The second condition in the BSD licence (covering binary redistributions) does
|
||||
not apply all the way down a chain of software. If binary package A includes
|
||||
PCRE2, it must respect the condition, but if package B is software that
|
||||
includes package A, the condition is not imposed on package B unless it uses
|
||||
PCRE2 independently.
|
||||
4
public/engines/pcre2/SHA256SUMS
Normal file
4
public/engines/pcre2/SHA256SUMS
Normal file
@@ -0,0 +1,4 @@
|
||||
197d8a73ffee0d6b09adba2f9c677b5f5aede24edf89258a68e48248d010d811 LICENSE.txt
|
||||
8c7f67ad85893fcc545c40d496abcc82d1009b76c9b7bcc7bd9ab92828852d76 engine-metadata.json
|
||||
d31a5f1e0839955ae8321430eafe65da8cbdef832a1245bb71ccc5bb0d4b6b9c pcre2.mjs
|
||||
cc7c4b2b0038e137c86d2037e73f2302e56432cb09bc082e4f35bba221dd1889 pcre2.wasm
|
||||
90
public/engines/pcre2/engine-metadata.json
Normal file
90
public/engines/pcre2/engine-metadata.json
Normal file
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"engine": "pcre2",
|
||||
"engineVersion": "10.47 2025-10-21",
|
||||
"status": "production-runtime",
|
||||
"bridge": {
|
||||
"abiVersion": 3,
|
||||
"maximumPatternBytes": 1048576,
|
||||
"maximumSubjectBytes": 16777216,
|
||||
"maximumReplacementBytes": 262144,
|
||||
"maximumMatches": 10000,
|
||||
"maximumCaptureRows": 100000,
|
||||
"maximumCaptureGroups": 1000,
|
||||
"maximumTraceEvents": 50000,
|
||||
"maximumTraceBytes": 10485760,
|
||||
"maximumTraceMarkBytes": 1024,
|
||||
"sourceFiles": [
|
||||
{
|
||||
"path": "engines/pcre2/CMakeLists.txt",
|
||||
"sha256": "670397b070a908b414d4d8ffa7c0a9ed2549b9ee27815a90de5fc9622c6df8fa",
|
||||
"bytes": 2583
|
||||
},
|
||||
{
|
||||
"path": "engines/pcre2/pcre2_bridge.c",
|
||||
"sha256": "ab5929472d9981eb2d1cc635a4963a7243d5cbb9db6c5ba8460136d4c79b3246",
|
||||
"bytes": 32530
|
||||
},
|
||||
{
|
||||
"path": "engines/pcre2/pcre2_bridge.h",
|
||||
"sha256": "b8767c0c59229a92d092915fc7b862a22d088a7f184485e4d67e14d6071d7d1c",
|
||||
"bytes": 7388
|
||||
}
|
||||
],
|
||||
"exports": [
|
||||
"_free",
|
||||
"_malloc",
|
||||
"_regex_pcre2_bridge_abi_version",
|
||||
"_regex_pcre2_compile_probe",
|
||||
"_regex_pcre2_config_flags",
|
||||
"_regex_pcre2_error_message",
|
||||
"_regex_pcre2_execute",
|
||||
"_regex_pcre2_self_test",
|
||||
"_regex_pcre2_substitute",
|
||||
"_regex_pcre2_trace",
|
||||
"_regex_pcre2_version"
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"repository": "https://github.com/PCRE2Project/pcre2.git",
|
||||
"tag": "pcre2-10.47",
|
||||
"tagObjectSha1": "cd007b4466798f66d479d1442a407099e7c40050",
|
||||
"commitSha1": "f454e231fe5006dd7ff8f4693fd2b8eb94333429",
|
||||
"treeSha1": "81a83a3552bd68d0ea7b7004f8bb6e7892f583ba",
|
||||
"license": "BSD-3-Clause WITH PCRE2-exception"
|
||||
},
|
||||
"toolchain": {
|
||||
"emscriptenVersion": "6.0.4",
|
||||
"emscriptenCompilerRevision": "fe5be6afdff43ad58860d821fcc8572a23f92d19",
|
||||
"emsdkCommitSha1": "224ec5f9f2f72f09f9ce0e26d66bae7dbd8b692f",
|
||||
"cmakeVersion": "4.3.4",
|
||||
"ninjaVersion": "1.13.2"
|
||||
},
|
||||
"configuration": {
|
||||
"codeUnitWidth": 8,
|
||||
"unicode": true,
|
||||
"jit": false,
|
||||
"threads": false,
|
||||
"filesystem": false,
|
||||
"initialMemoryBytes": 16777216,
|
||||
"maximumMemoryBytes": 268435456
|
||||
},
|
||||
"sourceDateEpoch": 1760997684,
|
||||
"files": [
|
||||
{
|
||||
"path": "LICENSE.txt",
|
||||
"sha256": "197d8a73ffee0d6b09adba2f9c677b5f5aede24edf89258a68e48248d010d811",
|
||||
"bytes": 4011
|
||||
},
|
||||
{
|
||||
"path": "pcre2.mjs",
|
||||
"sha256": "d31a5f1e0839955ae8321430eafe65da8cbdef832a1245bb71ccc5bb0d4b6b9c",
|
||||
"bytes": 7513
|
||||
},
|
||||
{
|
||||
"path": "pcre2.wasm",
|
||||
"sha256": "cc7c4b2b0038e137c86d2037e73f2302e56432cb09bc082e4f35bba221dd1889",
|
||||
"bytes": 339494
|
||||
}
|
||||
]
|
||||
}
|
||||
2
public/engines/pcre2/pcre2.mjs
Normal file
2
public/engines/pcre2/pcre2.mjs
Normal file
File diff suppressed because one or more lines are too long
BIN
public/engines/pcre2/pcre2.wasm
Normal file
BIN
public/engines/pcre2/pcre2.wasm
Normal file
Binary file not shown.
@@ -3,7 +3,7 @@
|
||||
"schemaVersion": 1,
|
||||
"id": "de.add-ideas.regex-tools",
|
||||
"name": "Regex Tools",
|
||||
"version": "0.1.0",
|
||||
"version": "0.2.0",
|
||||
"description": "Develop, explain, test and apply regular expressions locally in the browser.",
|
||||
"entry": "./",
|
||||
"icon": "./favicon.svg",
|
||||
|
||||
Reference in New Issue
Block a user