106
Wind Engineering (WE-UQ) / Re: pset doesn't work for certain parameters
« on: June 02, 2021, 04:55:47 AM »
I have updated the source code .. the problem is the tabs in the pset line of your ALL.tcl .. as we originally were using the following regular expression:
pset[ ]+[A-Z_a-z0-9]+[ ]+[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?
it could only handle spaces on the line .. i have updated the src code to handle tabs now as well.
pset[ \t]+[A-Z_a-z0-9]+[ \t]+[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?
it will be in next release (anything above version 2.2.0). Thanks for pointing it out.
In the meantime you can of course avoid the problem by removing tabs from a pset line in your script.
pset[ ]+[A-Z_a-z0-9]+[ ]+[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?
it could only handle spaces on the line .. i have updated the src code to handle tabs now as well.
pset[ \t]+[A-Z_a-z0-9]+[ \t]+[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?
it will be in next release (anything above version 2.2.0). Thanks for pointing it out.
In the meantime you can of course avoid the problem by removing tabs from a pset line in your script.