fabi1cazenave / webL10n

Client-side internationalization / localization library
http://fabi1cazenave.github.com/webL10n/
278 stars 70 forks source link

Allow deves to provide variable matching regexp #26

Closed mattbasta closed 1 year ago

mattbasta commented 11 years ago

This would allow devs to make the patterns in their strings match the patterns in their templating or formatting engines. I.e.: a developer could change the pattern to /\{([a-zA-Z\.]+)\}/ to require variables to be in the format {variable}.