Changeset 469


Ignore:
Timestamp:
03/13/06 08:31:31 (12 years ago)
Author:
gocher
Message:

Ticket #701
Email markup incorrectly truncating email address.

Regular Expression HTMLArea.Re_email

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r461 r469  
    167167HTMLArea.RE_body    = /<body[^>]*>((.|\n|\r|\t)*?)<\/body>/i; 
    168168HTMLArea.RE_Specials = /([\/\^$*+?.()|{}[\]])/g; 
    169 HTMLArea.RE_email    = /[a-z0-9_]{3,}@[a-z0-9_-]{2,}(\.[a-z0-9_-]{2,})+/i; 
     169HTMLArea.RE_email    = /[_a-zA-Z\d\-\.]{3,}@[_a-zA-Z\d\-]{2,}(\.[_a-zA-Z\d\-]{2,})+/i; 
    170170HTMLArea.RE_url      = /(https?:\/\/)?(([a-z0-9_]+:[a-z0-9_]+@)?[a-z0-9_-]{2,}(\.[a-z0-9_-]{2,}){2,}(:[0-9]+)?(\/\S+)*)/i; 
    171171 
Note: See TracChangeset for help on using the changeset viewer.