Closed cbabos closed 1 year ago
I've tried to use the tool but finally i've got an error in it :) With the given data the javascript have frozen.
Regex what i tried to input: <\?xml(?:.|\s)*<body[^>]*> Input
<\?xml(?:.|\s)*<body[^>]*>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by LibreOffice - see http://cgit.freedesktop.org/libreoffice/core/tree/filter/source/xslt for the code.--><head profile="http://dublincore.org/documents/dcmi-terms/"><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/><title xml:lang="en-US">- no title specified</title><meta name="DCTERMS.title" content="" xml:lang="en-US"/><meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/><meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/><meta name="DCTERMS.creator" content=""/><meta name="DCTERMS.issued" content="2014-12-23T10:00:00" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.contributor" content=""/><meta name="DCTERMS.modified" content="2014-12-23T10:00:00" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.provenance" content="" xml:lang="en-US"/><meta name="DCTERMS.subject" content="," xml:lang="en-US"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/><link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" hreflang="en"/><link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/><link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/><style type="text/css"> @page { } table { border-collapse:collapse; border-spacing:0; empty-cells:show } td, th { vertical-align:top; font-size:12pt;} h1, h2, h3, h4, h5, h6 { clear:both } ol, ul { margin:0; padding:0;} li { list-style: none; margin:0; padding:0;} <!-- "li span.odfLiEnd" - IE 7 issue--> li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; } span.footnodeNumber { padding-right:1em; } span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; } * { margin:0;} .P1 { font-size:10pt; font-family:Times; writing-mode:lr-tb; } .P2 { font-size:13.5pt; font-family:Times; writing-mode:lr-tb; color:#000000; } .P3 { font-size:12pt; font-family:Cambria; writing-mode:lr-tb; background-color:#afafaf; } .P4 { font-size:13.5pt; font-family:Times; writing-mode:lr-tb; background-color:#afafaf; color:#000000; font-style:italic; } .P5 { font-size:13.5pt; font-family:Times; writing-mode:lr-tb; background-color:#afafaf; color:#000000; font-style:italic; } .P6 { font-size:18pt; font-weight:bold; margin-bottom:0in; margin-top:0in; font-family:Times New Roman; writing-mode:lr-tb; } .P7 { font-size:13.5pt; font-weight:normal; margin-bottom:0in; margin-top:0in; font-family:Times; writing-mode:lr-tb; color:#000000; } .Standard { font-size:12pt; font-family:Cambria; writing-mode:lr-tb; } .T1 { color:#000000; font-family:Times; font-size:13.5pt; } .T2 { color:#000000; font-family:Times; font-size:13.5pt; font-style:italic; } .T3 { color:#000000; font-family:Times; font-size:13.5pt; } .T4 { color:#000000; font-family:Times; font-size:13.5pt; } <!-- ODF styles with no properties representable as CSS --> { } </style></head><body dir="ltr" style="max-width:8.2681in;margin-top:1in; margin-bottom:1in; margin-left:1.25in; margin-right:1.25in; writing-mode:lr-tb; "><p class="P5">sometext</p><p class="Standard"><span class="T1">Plantas 3 <br/></span></p><p class="P4">sometext</p><p class="Standard"><span class="T1">Biología<br/></span></p><p class="P4">sometext</p><p class="Standard"><span class="T1">sometext<br/></span></p>```
It's probably a bug in webkit (the same result in node.js too)
I've tried to use the tool but finally i've got an error in it :) With the given data the javascript have frozen.
Regex what i tried to input:
<\?xml(?:.|\s)*<body[^>]*>
Input