Module | Erubis::SimplifyEnhancer |
In: |
lib/erubis/enhancer.rb
|
get convert faster, but spaces around ’<%…%>’ are not trimmed.
this is language-independent.
SIMPLE_REGEXP | = | /<%(=+|\#)?(.*?)-?%>/m | DEFAULT_REGEXP = /(^[ \t]*)?<%(=+|\#)?(.*?)-?%>([ \t]*\r?\n)?/m |