Crate safe_regex_compiler[][src]

crates.io version license: Apache 2.0 unsafe forbidden pipeline status

A regular expression compiler.

If you want to use regular expressions in your software, use the safe_regex crate.

Cargo Geiger Safety Report

Changelog

  • v0.1.0 - First published version

TO DO

  • DONE - Read about regular expressions
  • DONE - Read about parsing
  • DONE - Implement parser
  • DONE - Add tests for parser
  • Implement macro_generator
  • Add tests for macro_generator
  • Add unwrap functions for other FinalNode variants
  • Add fuzzing tests

Release Process

  1. Edit Cargo.toml and bump version number.
  2. Run ./release.sh

Modules

generator

Provides a generate function used by the regex! proc macro.

parser

A parser for regular expressions.

Functions

escape_ascii

Converts the bytes into an ASCII string.

impl_regex

Implements the regex! macro.