[EMAIL PROTECTED] (Rick Measham) wrote:

> Maybe new() takes an optional ISOyear parameter? Thus the
> default 'year' is the way we commonly think of it and can take
> optional BC/BCE/AD/CE coding. It treats -1 as 1 BC and dies on
> getting '0'. ISOyear can only take integers with an optional
> '-'.

I like that idea.  However, ISOyear must allow a leading '+' if
years after 9999 are supported.  ISO 8601 states that all years
outside [0000,9999] must be signed.

Peter

-- 
#!/local/bin/perl5 -wp -*- mode: cperl; coding: iso-8859-1; -*-
# matlab comment stripper (strips comments from Matlab m-files)
s/^((?:(?:[])}\w.]'+|[^'%])+|'[^'\n]*(?:''[^'\n]*)*')*).*/$1/x;

Reply via email to