Plugin : Verbal Expressions

Author:Rex.Rainbow

Download

Properties

Actions

Line start / line end

Action:Start of line

  • Mark the expression to start at the beginning of the line.

Action:End of line

  • Mark the expression to end at the last character of the line.

New

Action:New

  • Create a new expression.

Replace

Action:Set result

  • Set replaced result, used under "Condition: On callback
    • Value ( number or string ) : Replaced by.

Source

Action:Find

  • Add a string to the expression.
    • Value ( string ) : The string to be looked for.

Action:Maybe

  • Add a string to the expression that might appear once (or not).
    • Value ( string ) : The string to be looked for.

Action:Anything

  • Mark the expression to any character any number of times.

Action:Anything but

  • Add a string to anything but these characters.
    • Value ( string ) : The string to be looked for.

Action:Something

  • Mark the expression to any character at least one time.

Action:Something but

  • Add a string to any character at least one time except for these characters.
    • Value ( string ) : The string to be looked for.

Special characters

Action:Line break

  • Add universal line break expression.

Action:Tab

  • Add expression to match a tab character.

Special characters and groups

Action:Word

  • Adds an expression to match a word -- all letters, numbers and underscores.

Expressions

Expression

Expression:Regex

  • Get current regex.

Expression:Flags

  • Get current flags.

Replace

Expression:Replace

  • Replacing by string.
    • Input ( string ) : Input string.
    • Replace ( string ) : Replace by.

Expression:ReplaceByCallback

  • Replacing by "Condition: On callback" with "Action: Set result".
    • Input ( string ) : Input string.
    • Callback ( string ) : Replace by function.

Expression:ReplacingTarget

  • Target string to be replaced, used under "Condition: On callback".

Conditions

Replace

Condition:On callback

  • Triggered when replacing string by "Expression: Replacing by callback".
    • Callback ( string ) : Callback name.

Test

Condition:Is matched

  • Return true if input is matched current expression.
    • Input ( string ) : Input string.