[pmwiki-users] capital first letters
Joachim Durchholz
jo at durchholz.org
Fri Jul 1 12:33:35 CDT 2005
Patrick R. Michaud wrote:
> On Fri, Jul 01, 2005 at 08:38:15AM +0200, Joachim Durchholz wrote:
>
>>Patrick R. Michaud wrote:
>>Slight improvement for the second line:
>> '/<p>((<([^"\'>]|"[^"]*"|\'[^\']*\')>)*[[:upper:]])/',
>>
>>One other generalisation should be done IMHO: Some tags should prevent
>>capitalisation. I can imagine stuff like <h1>, ... <h6>, <ul>, etc.
>
> Well, that won't (or at least shouldn't) happen here, since <h1>, <h6>,
> <ul>, etc. can never legally appear inside of a <p> tag (and PmWiki doesn't
> generate them).
Ah, right. It's inline markup then.
Which should be exactly the kind of markup where the firstcap rule
should indeed apply.
> At any rate, following PmWikiPhilosophy #3 I propose the simple,
> straightforward solution first and save anything more complex for when
> we actually need it and know the problem better.
Agreed :-)
Regards,
Jo
More information about the pmwiki-users
mailing list