Skip to content

provide RegEx in hotstring triggering

Notifications You must be signed in to change notification settings

EFH52/RegExHotstring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

RegExHotstrings

Provides RegEx in hotstring triggering like normal hotstring.

Use Space, Tab or Enter to trigger RegExHotstring.

Usage

RegExHotstring(String, CallBack, Options)

  • String:
  • CallBack:
  • Options:
    • * (asterisk): An ending character (e.g. Space, Tab, or Enter) is not required to trigger the hotstring. use *0 to turn this option back off.

    • ? (question mark): The hotstring will be triggered even when it is inside another word; that is, when the character typed immediately before it is alphanumeric. Use ?0 to turn this option back off.

    • B0 (B followed by a zero): Automatic backspacing is not done to erase the abbreviation you type. Use a plain B to turn backspacing back on after it was previously turned off.

    • C: Case sensitive: When you type an abbreviation, it must exactly match the case defined in the script. Use C0 to turn case sensitivity back off.

    • O: Omit the ending character of auto-replace hotstrings when the replacement is produced. Use O0 (the letter O followed by a zero) to turn this option back off.

Limitations

  • incompatible with #IfWin or #HotIf
  • unable to match white space characters and word boundaries (or anything related to that)

About

provide RegEx in hotstring triggering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • AutoHotkey 100.0%