Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Recursive capture of a variable number of elements using regexp

by linuxer (Deacon)
on Apr 09, 2009 at 18:47 UTC ( #756680=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Recursive capture of a variable number of elements using regexp
in thread Recursive capture of a variable number of elements using regexp

As long as the formulas are sum formulas, there should be no problem, as each element should be summed up and shouldn't appear again in the same formula. So it should be fine with C2H6O.

If the formula tries to represent some kind of molecular structure, you may be right: CH3CH2OH

(Both formulas represent ethanol).


Comment on Re^3: Recursive capture of a variable number of elements using regexp
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-08-29 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (286 votes), past polls