House of Fusion
Home of the ColdFusion Community
Hostmysite VPS Hosting
Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      

Modifiers

    Modifiers and Multipliers
    1. modifiers will alter the number of times a character, set or sub expression will be applied.
    2. one or more - a plus (+) will allow of one or more of the previous character, set or collection
      • wil+ = wil, will, willl, willlllll
    3. zero or more - an asterisk (*) will allow for zero or more of the previous character, set or collection
      • wil* = wi, wil, willl, willlll
      • wi.* = wi, wix, widsw, wifhghhv
    4. exists or not - a question mark (?) means that the previous character may or may not exist.
      • wil? = wil or wi
      • wil?t = wilt or wit
    5. strict number ranges - to define a strict number range you use curly braces({})
      • {single number}
      • {min amount, max amount}
    6. Modifiers are GREEDY and will match everything they can. Use a ? after each modifier to make it match as little as it can.