Using Emojis inside strings witj RegularExpressionMatchString(), will result in wrong (cutted) results.
regex_SC = CreateRegularExpression(#PB_Any, "^[\t]*[\ ]*EnablePbCgi([\s\S]*?)\(([\s\S]*?)^[\s]*DisablePbCgi", #PB_RegularExpression_MultiLine | #PB_RegularExpression_NoCase)
content.s = "EnablePbCgi" + #CRLF$ +
~"()\"

Replace with Emoji \"" + #CRLF$ +
"DisablePbCgi"
; Debug StringByteLength(content)
; ShowMemoryViewer(@content, StringByteLength(content))
; CallDebugger
ExamineRegularExpression(regex_SC, content)
If NextRegularExpressionMatch(regex_SC)
Debug RegularExpressionMatchString(regex_SC) ; Last Char ist missing
EndIf