summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartin Gütlein <martin.guetlein@gmail.com>2010-03-29 17:14:17 +0200
committerMartin Gütlein <martin.guetlein@gmail.com>2010-03-29 17:14:17 +0200
commit5465f726b972c0c5430cce958a220bc0736f1bdc (patch)
tree04bd5d33abe0f8407eac8630c7984794c5a7cf4a /lib
parentf93e03baaa9833cb3f329c9b342825b7527e1b48 (diff)
fix read owl data
Diffstat (limited to 'lib')
-rw-r--r--lib/environment.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/environment.rb b/lib/environment.rb
index e784777..dc3bad9 100644
--- a/lib/environment.rb
+++ b/lib/environment.rb
@@ -133,5 +133,5 @@ DC = Redland::Namespace.new 'http://purl.org/dc/elements/1.1/'
OT = Redland::Namespace.new 'http://www.opentox.org/api/1.1#'
# Regular expressions for parsing classification data
-TRUE_REGEXP = /^(true|active|1)/
-FALSE_REGEXP = /^(false|inactive|0)/
+TRUE_REGEXP = /^(true|active|$1^)/
+FALSE_REGEXP = /^(false|inactive|$0^)/