odf opened this issue on Oct 27, 2008 · 13933 posts
Cage posted Mon, 28 February 2011 at 9:14 PM
Quote - @Cage: There's one small problem with the leading space idea, because in an 'addChild' statement, you could have something line 'hip' alone on a line with only tabs preceding it. I guess a (relatively) save way to catch all possible case would be to do a regular expression search/replace instead of just a simple text-based one. Maybe I'll have a look at that tonight.
Oh, right. I guess that would miss any references in ERC code lines, too. That's where I'd end up writing something labored and fiddle-y, which tried to cover every contingency. :lol:
I've never worked with regular expressions in Python much. :unsure: Hmm.
===========================sigline======================================================
Cage can be an opinionated jerk who posts without thinking. He apologizes for this. He's honestly not trying to be a turkeyhead.
Cage had some freebies, compatible with Poser 11 and below. His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.