Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-356

PluginsManager regexp to determine correct plugins name sucks

      It does accept anything since it do not start with ^ and ends with $
      Here is a correct (and optimised) one :

      ^[a-zA-Z0-9]([a-zA-Z0-9-_\\.]*[a-zA-Z0-9])?$
      

          [RUNTIME-356] PluginsManager regexp to determine correct plugins name sucks

          Raphaël Franchet added a comment - - edited

          even better would use
          w

          ^\\w([\\w-_\\.]*\\w)?$
          

          Raphaël Franchet added a comment - - edited even better would use w ^\\w([\\w-_\\.]*\\w)?$

            cedric Cédric Damioli
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: