chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f946f50
)
allow negative decimals (and -0)
author
ian
<ian>
Tue, 7 Sep 2004 23:25:20 +0000
(23:25 +0000)
committer
ian
<ian>
Tue, 7 Sep 2004 23:25:20 +0000
(23:25 +0000)
pcb/pcb-panelise
patch
|
blob
|
history
diff --git
a/pcb/pcb-panelise
b/pcb/pcb-panelise
index 69f251d6a651556075e3c4213a5b523d20c49d23..91b3498572d83d050b3c158a32d9cdb13fd8b2a1 100755
(executable)
--- a/
pcb/pcb-panelise
+++ b/
pcb/pcb-panelise
@@
-81,7
+81,7
@@
sub process () {
#print STDERR "$argstring>".join("|",@a)."<\n";
map {
die "$_ ?" unless
- m/^(?:
(?: 0 | \-?
[1-9]\d* ) (?: \. \d* )?
+ m/^(?:
\-? (?: 0 |
[1-9]\d* ) (?: \. \d* )?
| 0x[0-9a-f]{8} | 0x[0-9a-f]{16} |
\" (?: \w | [-():,.] | \001 | \$ )* \" |
\'.\' )$/x;