Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: regular expression-xerox

by oz (Novice)
on May 04, 2004 at 09:59 UTC ( [id://350273]=note: print w/replies, xml ) Need Help??


in reply to Re: regular expression-xerox
in thread regular expression-xerox

Because I need to translate it in another regular expression format.

Replies are listed 'Best First'.
Re: Re: Re: regular expression-xerox
by diotalevi (Canon) on May 04, 2004 at 11:32 UTC

    I fail to see the problem. What part of the problem involving writing [ABCD] as (A|B|C|D) escapes you?

      It doesn't escape. I am gonna used that in a different sytem whose regular expressions are defined differently. I am trying to make the translation between that system and the user by perl.
        You have not yet indicated what part of (A|B|C|D) does not meet your needs. If I understand your question clearly, you've asked us to translate the expression [ABCD] / (A|B|C|D) into some other format used by this other language neither of which you have told us how to write. Are we to guess that http://www.xrce.xerox.com/competencies/content-analysis/fsCompiler/fssyntax.html#Complex is the language you wish to write your expression in? If so, it appears tthat Xerox used square brackets in the place of perl's parentheses. This leaves me with the probable expression [ A | B | C | D ].

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://350273]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 20:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found