SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Sep 2002
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Regular expressions in GUI Map Editor

    Hello colleagues,

    The physical description of an object has one of the properties which can take three values: 100, 182, 264.
    How can I describe it in the physical description using WR's regular expressions?

    Thank you!

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

  2. #2
    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: Regular expressions in GUI Map Editor

    I think the best you can do using WR's limited regexp functionality would be something like: "![12][086][024]", which unfortunately allows your 3 values plus several others (15 more if my math is right).

    ------------------
    Charles Reace
    charlesDOTreaceATverizonDOTnet

    "Any sufficiently advanced bug is indistinguishable from a feature." -Bruce Brown
    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)

  3. #3
    Junior Member
    Join Date
    Jan 2003
    Location
    Russia, Moscow
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Regular expressions in GUI Map Editor

    Imho, there`s no possibility in WR to do exactly what you want. But you may try this construction - [12][086][024], which matches also 182, 200 and so on...

    ------------------
    WBR, SJ.
    WBR, SJ.

  4. #4
    Member
    Join Date
    Sep 2002
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Regular expressions in GUI Map Editor

    Thank you for your answers!

    ---
    Alex

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

  5. #5
    Senior Member
    Join Date
    Jul 2001
    Posts
    216
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Regular expressions in GUI Map Editor

    Which property do you need the regular expression in?
    I have added support for full re's, but for label only so far. It may be fairly easy to extend it to your property also.
    Link: http://groups.yahoo.com/group/winrun...es/re_func.zip
    191KB

  6. #6
    Member
    Join Date
    Sep 2002
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Regular expressions in GUI Map Editor

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by misha_v:
    Which property do you need the regular expression in?
    I have added support for full re's, but for label only so far. It may be fairly easy to extend it to your property also.
    Link: http://groups.yahoo.com/group/winrunner/files/re_func.zip[/url]
    191KB
    <HR></BLOCKQUOTE>

    This property is "class_index"

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

  7. #7
    Senior Member
    Join Date
    Jul 2001
    Posts
    216
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Regular expressions in GUI Map Editor

    If "class_index" is the same as "MSW_id", then you can use the (added) GUI property "id_like" in the new version, hot from the oven today
    http://groups.yahoo.com/group/winrun...e_func_0.2.zip

    I hope this helps.

    --Misha

  8. #8
    Member
    Join Date
    Sep 2002
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Regular expressions in GUI Map Editor

    Thank you very much

    I'll try to use it

    ---
    Alex

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

  9. #9
    Junior Member
    Join Date
    Jan 2003
    Location
    Ontario,CA,US
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Regular expressions in GUI Map Editor

    Try "!*" . It should work for everything.

    BEN

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

 

 

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 9.38%
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 03:58 AM.

Copyright BetaSoft Inc.