尝试将模式与输入字符串匹配时,RegEx 引擎超时。许多原因均可能导致出现这种情况,包括由嵌套限定符、反向引用和其他因素引起的大量输入或过度回溯。尝试将模式与输入字符串匹配时,RegEx 引擎超时。许多原因均可能导致出现这种情况,包括由嵌套限定符、反向引用和其他因素引起的大量输入或过度回溯。

报错信息 1
XamlParseException: 尝试将模式与输入字符串匹配时,RegEx 引擎超时。许多原因均可能导致出现这种情况,包括由嵌套限定符、反向引用和其他因素引起的大量输入或过度回溯。
--LineNumber: 0
--LinePosition: 0
StackTrace:
   在 System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   在 System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)
   在 System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlObjectWriter objectWriter)
   在 System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
   在 System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren)
   在 System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
   在 System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
   在 System.Windows.FrameworkElement.ApplyTemplate()
   在 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   在 System.Windows.UIElement.Measure(Size availableSize)
   在 System.Windows.ContextLayoutManager.UpdateLayout()
   在 System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

RegexMatchTimeoutException: 尝试将模式与输入字符串匹配时,RegEx 引擎超时。许多原因均可能导致出现这种情况,包括由嵌套限定符、反向引用和其他因素引起的大量输入或过度回溯。
--Pattern: <(script|style|head)\b[^>]*>[\s\S]*?</\1\s*>
--Input: <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Excel">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
x\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--.font0
	{color:#000000;
	font-size:11.0pt;
	font-family:宋体;
	font-weight:400;
	font-style:normal;
	text-decoration:none;}
.font1
	{color:#FF0000;
	font-size:18.0pt;
	font-family:宋体;
	font-weight:400;
	font-style:normal;
	text-decoration:none;}
br
	{mso-data-placement:same-cell;}
td
	{padding-top:1px;
	padding-left:1px;
	padding-right:1px;
	mso-ignore:padding;
	color:#000000;
	font-size:11.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:宋体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	mso-number-format:General;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	text-align:general;
	vertical-align:middle;
	white-space:nowrap;
	mso-rotate:0;
	mso-protection:locked visible;}
.et2
	{color:#FF0000;
	font-size:18.0pt;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	border:.5pt solid #000000;
	background:#A8EAE4;
	mso-pattern:auto none;
	text-align:center;}
-->
</style>
</head>
<body><div ksdocclipboard="ksDocClipboardId:'{7d9fd257-3443-8e2a-00f4-4a22c262ffca-464927457443}';from:'et';priorityFormat:'';mimetypes:'text/plain;text/html;WPS Spreadsheets 6.0 Format';dataType:'';srcRange:'sheetIdx:0,rowFrom:130,rowTo:130,colFrom:17,colTo:17,sheetStId:1';ext:'eyJ0eXBlIjoidXBkYXRlUmFuZ2VzIiwiZmlsZUlkIjoiNDY0OTI3NDU3NDQzIiwibGlua0lkIjoiY3MxSUx1NWNMY3RGIiwicmdzIjpbeyJzaGVldElkeCI6MCwicm93RnJvbSI6MTMwLCJyb3dUbyI6MTMwLCJjb2xGcm9tIjoxNywiY29sVG8iOjE3LCJzaGVldFN0SWQiOjEsInV1aWQiOiJleUp5WmlJNk1UTXdMQ0p5ZENJNk1UTXdMQ0pqWmlJNk1UY3NJbU4wSWpveE55d2ljM1JKWkNJNk1YMD0iLCJ3aWR0aCI6NTMsImhlaWdodCI6NDN9XX0='">
<!--StartFragment-->
<table border=0 cellpadding=0 cellspacing=0 width=76 height=62 style='border-collapse:collapse;width:57.02pt;'>
 <col width=76 style='width:57.00pt;'>
 <tr height=62 style='height:47.00pt;'>
  <td class=et2 height=62 width=76 style='height:47.00pt;width:57.00pt;'></td>
 </tr>
</table>

--MatchTimeout: 00:00:00.1000000
StackTrace:
   在 System.Text.RegularExpressions.RegexRunner.DoCheckTimeout()
   在 System.Text.RegularExpressions.RegexInterpreter.Go()
   在 System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick, TimeSpan timeout)
   在 System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
   在 System.Text.RegularExpressions.Regex.Match(String input, Int32 startat)
   在 System.Text.RegularExpressions.RegexReplacement.Replace(Regex regex, String input, Int32 count, Int32 startat)
   在 System.Text.RegularExpressions.Regex.Replace(String input, String replacement)
   在 IntelliTools.View.Clipboard.Policies.ClipboardHtmlTextDecoder.Decode(String html)
   在 IntelliTools.ViewModel.Clip.ClipTextPreviewViewModel.ResolvePreviewText(String text, String html)
   在 IntelliTools.ViewModel.Clip.ClipTextPreviewViewModel.get_PreviewText()
   在 IntelliTools.ViewModel.Clip.ClipTextPreviewViewModel.ShouldWrap(Int32 maxLines)
   在 IntelliTools.View.Converters.TextClipItemTextWrappingConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
   在 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   在 System.Windows.Data.BindingExpression.Activate(Object item)
   在 System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
   在 System.Windows.Data.BindingExpression.AttachOverride(DependencyObject target, DependencyProperty dp)
   在 System.Windows.Data.BindingExpressionBase.Attach(DependencyObject target, DependencyProperty dp)
   在 System.Windows.StyleHelper.GetInstanceValue(UncommonField`1 dataField, DependencyObject container, FrameworkElement feChild, FrameworkContentElement fceChild, Int32 childIndex, DependencyProperty dp, Int32 i, EffectiveValueEntry& entry)
   在 System.Windows.StyleHelper.GetChildValueHelper(UncommonField`1 dataField, ItemStructList`1& valueLookupList, DependencyProperty dp, DependencyObject container, FrameworkObject child, Int32 childIndex, Boolean styleLookup, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot)
   在 System.Windows.StyleHelper.GetChildValue(UncommonField`1 dataField, DependencyObject container, Int32 childIndex, FrameworkObject child, DependencyProperty dp, FrugalStructList`1& childRecordFromChildIndex, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot)
   在 System.Windows.StyleHelper.GetValueFromStyleOrTemplate(FrameworkObject fo, DependencyProperty dp, EffectiveValueEntry& entry)
   在 System.Windows.StyleHelper.ApplyStyleOrTemplateValue(FrameworkObject fo, DependencyProperty dp)
   在 System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList`1& exclusionContainerDependents, FrugalStructList`1& oldContainerDependents, FrugalStructList`1& newContainerDependents)
   在 System.Windows.StyleHelper.DoStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle)
   在 System.Windows.StyleHelper.UpdateStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle, Style& styleCache)
   在 System.Windows.FrameworkElement.OnStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.Controls.TextBlock.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   在 System.Windows.FrameworkTemplate.ReceivePropertySet(Object targetObject, XamlMember member, Object value, DependencyObject templatedParent)
   在 System.Windows.FrameworkTemplate.<>c__DisplayClass45_0.<LoadOptimizedTemplateContent>b__3(Object sender, XamlSetValueEventArgs setArgs)
   在 System.Xaml.XamlObjectWriter.OnSetValue(Object eventSender, XamlMember member, Object value)
   在 System.Xaml.XamlObjectWriter.SetValue(Object inst, XamlMember property, Object value)
   在 System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(ObjectWriterContext ctx, XamlMember prop, Object value, Boolean onParent)
   在 System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(ObjectWriterContext ctx)
   在 System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx)
   在 System.Xaml.XamlObjectWriter.WriteEndMember()
   在 System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)

版本:1.44.55 2026-11-10 11:13 Microsoft Windows NT 10.0.19045.0