!REGEX.DEF [102] - REGEX.SBR (Regular Expression) definitions
!-------------------.-------------------.-------------------.-------------------.
!EDIT HISTORY
! VEDIT=102
! Note: history reformatted 9-Feb-17
! [102] 21-Mar-11 / jdm / Added PCREX_SUBMATCH_ARRAY
! [101] 15-Apr-08 / jdm / Added PCREX_PRECOMPILE
! [100] 20-Feb-08 / jdm / 
!-------------------.-------------------.-------------------.-------------------.
! Symbols affecting way patterns are compiled
! Note: more extensive explanations of these options can be found
! at http://www.pcre.org/pcre.txt

define PCRE_CASELESS        = &h0001      ! case insensitive match (?i)
define PCRE_MULTILINE       = &h0002      ! support multiline subjects (?m)
define PCRE_DOTALL          = &h0004      ! dot matches even newlines (?s)
define PCRE_EXTENDED        = &h0008      ! ignore unescaped whitespace (?x)
define PCRE_ANCHORED        = &h0010      ! allow anchored matches only
define PCRE_DOLLAR_ENDONLY  = &h0020      ! match dollar metachar only at end
define PCRE_UNGREEDY        = &h0200      ! Inverts "greediness" (?u)
define PCRE_UTF8            = &h0800      ! Compile for Unicode

define PCREX_PRECOMPILE     = &h80000000  ! [101] Precompile pattern only
define PCREX_SUBMATCH_ARRAY = &h40000000  ! [102] submatch is array
                                          ! (Must set SUBCNT to array size!)
                                          
! also see INSTRF_ANY and INSTRF_ANYQT in ashell.def