Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 examining the Monastery: (7)
As of 2014-07-25 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (169 votes), past polls