lib/core/lorj_basecontroller.rb
# Function to check if a value match a regexp
#
# * *args*:
#   - value      : The controller value to test matching.
#   - match_value: RegExp object to match against value.
#
# * *returns*:
#   - treated: true if match_value is RegExp
#   - status : true if match. false otherwise
#
Function to check if a value match a regexp
*args*:
value      : The controller value to test matching.
match_value: RegExp object to match against value.

*returns*:
treated: true if match_value is RegExp
status : true if match. false otherwise
Function to check if a value match a regexp * args * : value : The controller value to test matching . match_value : RegExp object to match against value . * returns * : treated : true if match_value is RegExp status : true if match . false otherwise
def lorj_filter_regexp(value, match_value) 
      return [false, false] unless match_value.is_a?(Regexp)
      return [true, true] if match_value.match(value)
      [true, false]
    end
def lorj_filter_regexp ( value , match_value ) return [ false , false ] unless match_value . is_a? ( Regexp ) return [ true , true ] if match_value . match ( value ) [ true , false ] end
Function to check if a value match a regexp
 *args*:
 value      : The controller value to test matching.
Function to check if a value match a regexp * args * : value : The controller value to test matching .
# :doc:
value
<not_specific>
match_value
<not_specific>