src/hg/lib/hgFind.c 1.218
1.218 2009/02/24 22:34:08 angie
Make canonicalRangeExp accept negative start coord -- hgTracks will clip to 0.
Index: src/hg/lib/hgFind.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/hgFind.c,v
retrieving revision 1.217
retrieving revision 1.218
diff -b -B -U 4 -r1.217 -r1.218
--- src/hg/lib/hgFind.c 20 Feb 2009 23:49:03 -0000 1.217
+++ src/hg/lib/hgFind.c 24 Feb 2009 22:34:08 -0000 1.218
@@ -2855,9 +2855,9 @@
* start and end portions for substring retrieval: */
char *canonicalRangeExp =
"^([[:alnum:]._\\-]+)"
"[[:space:]]*:[[:space:]]*"
- "([0-9,]+)"
+ "([-0-9,]+)"
"[[:space:]]*-[[:space:]]*"
"([0-9,]+)$";
char *gbrowserRangeExp =
"^([[:alnum:]._\\-]+)"