Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(^[\S]+)(?!^[\S]+)\s+.*
/
gm

Description

Create a static reference to the Unity MonoBehaviour messages. Select the "Messages from" http://docs.unity3d.com/ScriptReference/MonoBehaviour.html and substitute with:

public const string $1 = "$1";

Submitted by KiwiDevelop.com - 10 years ago