WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #35022, comment 19


Ignore:
Timestamp:
03/21/2016 05:38:54 PM (4 years ago)
Author:
steevithak
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35022, comment 19

    v1 v2  
    33http://stackoverflow.com/questions/3469080/match-whitespace-but-not-newlines-perl
    44
    5 Maybe an alternate/easier way is to consider a shortcode terminator character to be *any* character that's not legal for use in the shortcode name? Maybe something like !^\w (or whatever the appropriate list is if not \w)?
     5Maybe an alternate/easier way is to consider a shortcode terminator character to be *any* character that's not legal for use in the shortcode name? Maybe something like !^\w+ (or whatever the appropriate list is if not \w)?