swirl
Guide to OmniMark 7   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 ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:56 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.