swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
     
operator  

ul

 
 

Syntax

ul


Purpose

Prefixes a sub-pattern to indicate that any letter in the sub-pattern should be matched in either uppercase or lowercase.

The following tests, which are equivalent, demonstrate:


  global stream alpha-number-text
  ...
  when alpha-number-text > ul ("m" | attribute limit)
  ...
  when (alpha-number-text > ul "m") | (alpha-number-text > ul attribute limit)

The following example illustrates that when ul is applied to a compound pattern that contains a condition, any patterns in that condition remain unaffected by the ul. ul applies to the "abc", but not to the "def" since "def" is part of the pattern of the condition, which is a different pattern altogether:

  global stream x
  ...
  find ul ("abc" when x matches "def")

       
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:51:21 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.