25-01-17, 10:38 AM
(24-01-17, 12:14 AM)مساعدة كتب : السلام عليكم
ضع RegexOptions.Singleline مع RegexOptions.IgnoreCase ليصبح
كود :
Dim colcall As String = Regex.Match(ms(i), "(?<=<call.+?>).+?(?=<)", RegexOptions.IgnoreCase+RegexOptions.Singleline).Value
اهلا بك
شكرا على الرد
يوم احط الكود تطلع لي هذه المشكلة
كود :
Error 6 Overload resolution failed because no accessible 'Match' can be called without a narrowing conversion:
'Public Function Match(input As String, beginning As Integer, length As Integer) As System.Text.RegularExpressions.Match': Argument matching parameter 'beginning' narrows from 'String' to 'Integer'.
'Public Shared Function Match(input As String, pattern As String, options As System.Text.RegularExpressions.RegexOptions) As System.Text.RegularExpressions.Match': Argument matching parameter 'options' narrows from 'Integer' to 'System.Text.RegularExpressions.RegexOptions'.
