Skip to content

Shorter regex? #7

@designermonkey

Description

@designermonkey

I discovered today that you can use the following in xsl

<xsl:output method="xml"
    doctype-public=""
    doctype-system=""
    omit-xml-declaration="yes"
    encoding="UTF-8"
    indent="yes" />

which outputs

<!doctype html PUBLIC "" "">

I thought this might be of interest to you as if advised to users of this extension, it could mean a shorter regex match for parsing. Whether that would be a speed gain or not I'm not sure.

Anyhoo...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions