SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Jan 2002
    Location
    Brussels, Belgium
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to use regular expression when the label changes completely

    Hello,
    I have problem to use regular expression with a specific window. The label of this window changes completely, depending on the selection I made before.
    The Physical decsription of the window is:
    class : window
    MSW_class: "!Afx:.*",
    If I put in the label (label:"!Activity.*")
    it will recognize only report which label starts with Activity. And what I would like to do is to recognize any report.
    I put the following in the label (label:"!.*) but it doesn't work.

    Do you know how I can solve this?
    Thanks.
    Aicha

    ------------------

  2. #2
    Junior Member
    Join Date
    Jan 2002
    Location
    Edmonton, Alberta, Canada
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to use regular expression when the label changes completely

    I did this by changing the label to "!.*"

    ------------------

  3. #3
    Junior Member
    Join Date
    Jan 2002
    Location
    Brussels, Belgium
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to use regular expression when the label changes completely

    That's what I did but it didn't recognize the window anymore.
    Aicha

    ------------------

  4. #4
    Senior Member
    Join Date
    May 2001
    Location
    Ankh-Morpork
    Posts
    2,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to use regular expression when the label changes completely

    If there is a finite number of possibilities, say "Activity Report", "Some Other Form", and "Another Report", you could use a syntax such as:

    "![AS][con][tmo][iet][v\ h].*"

    ------------------
    Charles Reace

    charles{DOT}reace{AT}verizon{DOT}net
    web site | [url=http://www.ebookworm.us/[/url]

    [i]...Sound trumpets! Every trumpet in the host! / Sixty thousand, on these words, sound, so high the mountains sound, and the valleys resound.</i] (The Song of Roland)

  5. #5
    Junior Member
    Join Date
    Jan 2002
    Location
    Brussels, Belgium
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to use regular expression when the label changes completely

    Thanks Charles!
    You put me on the right track. Finally I used the following syntax:
    -Label:"![A-Z][a-z].*"
    Regards,
    Aicha

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:31 AM.

Copyright BetaSoft Inc.