Crates.io | regexml-convert-perl-tests |
lib.rs | regexml-convert-perl-tests |
version | 0.1.2 |
created_at | 2025-03-19 14:04:04.625102+00 |
updated_at | 2025-03-19 14:54:00.701922+00 |
description | Convert Perl tests to Rust tests |
homepage | |
repository | https://github.com/Paligo/regexml |
max_upload_size | |
id | 1598031 |
size | 137,556 |
The qt3 test suite for XPath and XML Schema
contains, in the directory fn/matches/perl-tests.xml
testing information for
XML XPath regex. The provenance of this file is unclear, and so it the meaning
of some of its result
attributes, but it probably derives from a test suite
for Perl regexes.
This contains code to generate the regexml/tests/test_qt_perl_matches.rs
module
from the included copy of the perl-tests.xml
file.
Should you need to update perl-tests.xml
you can update it in this module,
re-run the script as follows (from the project root):
cargo run -p regexml-convert-perl-tests > regexml/tests/test_qt_perl_matches.rs