Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Patcher
Rules
RuleCompiler
TrimLines
Patcher.Rules.RuleCompiler.TrimLines C# (CSharp) Method
RuleCompiler Class Documentation
显示文件
Open project: unforbidable/patcher
TrimLines()
private
method
private
TrimLines
(
string
text
) :
string
text
string
return
string
private string TrimLines(string text) { return Regex.Replace(text, @"(\n)\s*", "$1").Trim(); }
RuleCompiler
Add
CheckIllegalTokens
CompileAll
EnsureMethodsExist
GetCompilerErrorHint
GetIllegalCodeTokens
GetMethod
LoadMethodsFromAssembly
PreprocessCode
RuleCompiler
StripBlanks
StripComments
StripDebug
StripStrings
TrimLines
ValidateCachedAssemblyVersion