Rebol Programming/parse

USAGE:

edit
PARSE input rules /all /case 

DESCRIPTION:

edit

Parses a series according to rules.

PARSE is a native value.

ARGUMENTS:

edit
  • input -- Input series to parse (Type: series)
  • rules -- Rules to parse by (Type: block string none)

REFINEMENTS:

edit
  • /all -- Parses all chars including spaces.
  • /case -- Uses case-sensitive comparison.

SOURCE CODE

edit
parse: native[
    "Parses a series according to rules." 
    input [series!] "Input series to parse" 
    rules [block! string! none!] "Rules to parse by" 
    /all "Parses all chars including spaces." 
    /case "Uses case-sensitive comparison."
]