regex

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package regex holds the regular expression rules shared by the parser and evaluation: patterns must be valid for the Go engine and must not rely on its leniencies (a `{` that is not a counted repetition).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(pattern string) string

Check compiles pattern and also rejects a `{` that does not start a valid counted repetition (Go's engine would silently treat it as a literal brace). Braces inside escapes such as \p{L} or \x{4F} and inside character classes are not repetitions. It returns an error message or "".

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL