diff options
author | Martin Gütlein <martin.guetlein@gmail.com> | 2010-03-29 17:14:17 +0200 |
---|---|---|
committer | Martin Gütlein <martin.guetlein@gmail.com> | 2010-03-29 17:14:17 +0200 |
commit | 5465f726b972c0c5430cce958a220bc0736f1bdc (patch) | |
tree | 04bd5d33abe0f8407eac8630c7984794c5a7cf4a /lib | |
parent | f93e03baaa9833cb3f329c9b342825b7527e1b48 (diff) |
fix read owl data
Diffstat (limited to 'lib')
-rw-r--r-- | lib/environment.rb | 4 |
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^)/ |