[wp-trac] [WordPress Trac] #22692: Quotes Are Messing Up
WordPress Trac
noreply at wordpress.org
Sat Nov 2 02:19:05 UTC 2013
#22692: Quotes Are Messing Up
----------------------------------------+-----------------------------
Reporter: miqrogroove | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Formatting | Version: 3.4.2
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests |
----------------------------------------+-----------------------------
Comment (by miqrogroove):
Replying to [comment:34 miqrogroove]:
> also,
>
> {{{/"(\s|\S|\Z)/}}}
>
> Does that regexp make sense to anyone? Isn't it equivalent to {{{/"/}}}
??
Clarification.. this is replacement mode, so what's the difference between
these, if any:
{{{$dynamic[ '/"(\s|\S|\Z)/' ] = $closing_quote . '$1'; }}}
or
{{{$dynamic[ '/"(.*)/' ] = $closing_quote . '$1'; }}}
or
{{{$dynamic[ '/"/' ] = $closing_quote; }}}
Wouldn't those all do the same thing?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22692#comment:42>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list