Next / Previous / Contents / TCC Help System / NM Tech homepage

4.3. Constants

We'll need a pre-compiled regular expression to search for the plus or minus sign that separates the right ascension and declination on the command line. The “-” is escaped because otherwise it has special meaning inside “[...]” regular expressions.

rdaa
#================================================================
# Manifest consants
#----------------------------------------------------------------

SIGN_PAT  =  re.compile ( r'[\-+]' )