go.regexp.syntax

Go to Haxe source-to-source compiler

..
EmptyOp

An EmptyOp specifies a kind or mixture of zero-width assertions.

EmptyOpPointer

EmptyOpPointerPointer

EmptyOpPointer_asInterface

EmptyOp_asInterface

Error

An Error describes a failure to parse a regular expression and gives the offending expression.

ErrorCode

An ErrorCode describes a failure to parse a regular expression.

ErrorCodePointer

ErrorCodePointerPointer

ErrorCodePointer_asInterface

ErrorCode_asInterface

ErrorPointer

ErrorPointerPointer

ErrorPointer_asInterface

Error_asInterface

Flags

Flags control the behavior of the parser and record information about regexp context.

FlagsPointer

FlagsPointerPointer

FlagsPointer_asInterface

Flags_asInterface

Inst

An Inst is a single instruction in a regular expression program.

InstOp

An InstOp is an instruction opcode.

InstOpPointer

InstOpPointerPointer

InstOpPointer_asInterface

InstOp_asInterface

InstPointer

InstPointerPointer

InstPointer_asInterface

Inst_asInterface

Op

An Op is a single regular expression operator.

OpPointer

OpPointerPointer

OpPointer_asInterface

Op_asInterface

Prog

A Prog is a compiled regular expression program.

ProgPointer

ProgPointerPointer

ProgPointer_asInterface

Prog_asInterface

Regexp

A Regexp is a node in a regular expression syntax tree.

RegexpPointer

RegexpPointerPointer

RegexpPointer_asInterface

Regexp_asInterface

Syntax
  • Package syntax parses regular expressions into parse trees and compiles parse trees into programs. Most clients of regular expressions will use the facilities of package regexp (such as Compile and Match) instead of this package.

Syntax

The regular expression syntax understood by this package when parsing with the Perl flag is as follows. Parts of the syntax can be disabled by passing alternate flags to Parse.