(New message)
Subject review (reverse sequence)
Posted by
Flannel
USA (1,230 posts) bio
Date
Wed 14 Jul 2004 08:45 PM (UTC) [ quote
]
Message
You dont need to escape the @, thats probably why its not matching. Actually no, thats not it. Do you have "expand variables" checked? (If so, why?) There shouldnt be anything wrong with matching on @ (unless you do have expand variables checked).
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. top
Posted by
Sdj79
Belgium (4 posts) bio
Date
Wed 14 Jul 2004 06:12 PM (UTC) [ quote
]
Message
And found the solution ...
@ had to be matched using \x40
Thx for your help top
Posted by
Sdj79
Belgium (4 posts) bio
Date
Wed 14 Jul 2004 06:08 PM (UTC) [ quote
]
Message
you were right it's the @ matching that doesn't work :s
Trying to figure out why top
Posted by
Magnum
Canada (580 posts) bio
Date
Wed 14 Jul 2004 06:08 PM (UTC) [ quote
]
Message
A this time i've:
^[ ]*\[([\x2a]*)([\@]*)([\#]*)([X]*)([x]*)([\.]*)]$
The * looks to be after the open [ but you have it before.
\[\*
The final ] does not appear to be escaped.
\]
^[ ]\[\*([\x2a]*)([\@]*)([\#]*)([X]*)([x]*)([\.]*)\]$
Maybe that one will work.
Get my plugins here: http://www.magnumsworld.com/muds/
Constantly proving I don't know what I am doing...
Magnum. top
Posted by
Flannel
USA (1,230 posts) bio
Date
Wed 14 Jul 2004 05:48 PM (UTC) [ quote
]
Message
It DOES work with * though. Perhaps other parts of your expression are problematic?
Try a regexp with JUST \* (match on a single asterisk) then check keep evaluating, repeat on same line, regexp, and change the color of it. Just to see if it is indeed some problem with... well, I dont know, that prevents you from matching.
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. top
Posted by
Sdj79
Belgium (4 posts) bio
Date
Wed 14 Jul 2004 05:06 PM (UTC) [ quote
]
Message
That's the first thing i tried ... as it worked for other chars like '.'
But unfortunately that doens't seem to work with *
:s top
Posted by
Poromenos
Greece (1,037 posts) bio
Date
Wed 14 Jul 2004 02:10 PM (UTC) [ quote
]
Message
Try escaping it with \*.
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! top
Posted by
Sdj79
Belgium (4 posts) bio
Date
Wed 14 Jul 2004 11:54 AM (UTC) [ quote
]
Message
I was wondering how to match the * char
I'm trying to convert this
[*@@#######XXXXXXXXxxxx.........]
to numerical value ... my preblem is that i can't have * matched
A this time i've:
^[ ]*\[([\x2a]*)([\@]*)([\#]*)([X]*)([x]*)([\.]*)]$
which works perfectly but for the *
Can anyone help me? top
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
2,944 views.
Reply to this subject
Start a new subject
  Refresh page
Go to topic:
(Choose topic)
Area Editor: Bug reports
Area Editor: General
Area Editor: News and updates
Area Editor: Suggestions
Area Editor: Tips and tricks
Dawn of Time: Administration
Dawn of Time: Configuration
Dawn of Time: Installing/compiling the server
Dawn of Time: New Dawn Muds Announcements
Dawn of Time: Playing
Dawn of Time: What is Dawn of Time (Dawn)?
Electronics: Microprocessors
Electronics: Operational Amplifiers
Forum: About
Forum: Announcements
Forum: Mailing other users
Forum: Problems
Forum: Registering
Forum: Searching
Forum: Subscribing
Forum: Suggestions
Forum: Test
Forum: Time zones / time display
Forum software: Administration
Forum software: Installation
MUDs: Announcements
MUDs: General
MUDs: MUD Design Concepts
MUSHclient: Announcements
MUSHclient: Beta testing
MUSHclient: Bug reports
MUSHclient: Development
MUSHclient: General
MUSHclient: Getting Started
MUSHclient: International
MUSHclient: Jscript
MUSHclient: Lua
MUSHclient: Miniwindows
MUSHclient: MXP and Pueblo
MUSHclient: Perlscript
MUSHclient: Plugins
MUSHclient: Python
MUSHclient: Suggestions
MUSHclient: Tips and tricks
MUSHclient: VBscript
MUSHclient: Wine
PennMUSH: Compiling the server
PennMUSH: Running the server
Programming: General
Programming: STL
Quilting: General
ROM: Compiling the server
ROM: Running the server
SMAUG: Commands
SMAUG: Compiling the server
SMAUG: Lua
SMAUG: Running the server
SMAUG: SMAUG coding
Search the forum
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )