Compatibility Regex

To prevent the installation of a DotNetNuke module on a not supported version of DotNetNuke, you can set the compatibility regex in the module definitions. In the following case, I want the module to be installed on every version of DotNetNuke equal or bigger than 04.08.00. This lead me to the following regex: ^04.0[8-9]{1}.[0-9]{2}|04.[1-9]{1}[0-9]{1}.[0-9]{2}|0[5-9]{1}.[0-9]{2}.[0-9]{2}|[1-9]{1}[0-9]{1}.[0-9]{2}.[0-9]{2}$ It will grab possible versions of 04.10.00 up to versions 99.99.99. But I wonder if the module will still work on .NET 2042...
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading