<div>Hello Seyit</div><div><br></div>"+" and "-" are not normal programming word characters. These are defined as any upper or lowercase latin letter, underscores, and digits (0-9). I might use "p" and "m" instead. <div>
<br></div><div>Be Well</div><div>Anthony<br><br><div class="gmail_quote">On Fri, Jun 1, 2012 at 4:05 PM, Seyit Hocuk <span dir="ltr"><<a href="mailto:seyit@astro.rug.nl" target="_blank">seyit@astro.rug.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I want to include species with names that have '+' or '-' in them. The config file cannot recognize these characters. It gives this error:<br>
<br>
"<br>
Bad syntax:<br>
SPECIES e-<br>
input doesn't match regular expression "SPECIES\s+(?P<name>\w+)(\s+<u></u>TO\s+(?P<nElec>\d+))?\s*$"<br>
"<br>
<br>
Can I change the file "\bin\unitCfg.py" to make it able to read these?<br>
<br>
def initparseSPECIES(self):<br>
return {}, r'SPECIES\s+(?P<name>\w+)(\s+<u></u>TO\s+(?P<nElec>\d+))?\s*$<br>
<br>
<br>
Thanks,<br>
Seyit<br>
<br>
</blockquote></div><br></div>