A Beginner’s Guide to Using Regular Expressions in AutoHotkey: Exploring the Mysteries of RegEx: Create Practical AutoHotkey Tools for Windows XP, Windows … Tips and Tricks Book 5) (English Edition)

Google Anzeigen

Windows XP

AutoHotkey is a powerful scripting language for Windows XP, Windows Vista, Windows 7, Windows 8, and Windows 10. If you don’t already use AutoHotkey with your Windows computers, then you should start. The language is simple, yet powerful. Best of all, it’s free to use.

This "Beginner’s Guide to Using Regular Expressions in AutoHotkey" is not a beginning level AutoHotkey book, but an introduction to using Regular Expressions in AutoHotkey (or most other programming languages). To get the most from this book you should already have a basic understanding of AutoHotkey (or another programming language). Regular Expressions (RegEx) are a powerful way to search and alter documents without the limitations of most of the standard matching functions. At first, the use of RegEx can be confusing and mysterious. This book clears up the confusion with easy analogies for understanding how RegEx works and examples of practical AutoHotkey applications. "Regular Expressions in AutoHotkey" will take you to the next level in AutoHotkey scripting while adding more flexibility and power to your Windows apps.

Regular Expressions (commonly called RegEx or RegExp) in AutoHotkey is not a beginning level script writing topic and there certainly is nothing regular about Regular Expressions. Jack spent a good bit of time exploring the programming tools and has developed a healthy respect for RegEx flexibility and power. Many (including Jack) have avoided using RegEx due to its enigmatic code which at times appears almost incomprehensible. It’s not like normal program code with If-Then-Else statements and Loops. Writing a RegEx is not merely a matter of following a logical sequence. It often requires a non-linear look at the problem. Jack’s found that what helps him most is the analogy he pictures in his brain pan. That image gives a basis for what a RegEx is trying to do. ("Try" is a good word when describing RegExs. Whereas the usual programming either works or doesn’t work, RegEx "tries" to find pattern matches. If none are found, it moves on.)

The chapters in this book are grouped by their place in developing a deeper understanding of Regular Expressions while emphasizing the practical application of RegExMatch() and RegExReplace()—the two primary AutoHotkey Regular Expressions functions.The first three chapters are the most important for getting a quick start on how to view and understand Regular Expressions and the AutoHotkey RegEx functions, while the remaining chapters can be studied in almost any order as they each demonstrate one or more practical RegEx applications—i.e. finding double words in text (Chapter Five); fixing mistyped word contractions (Chapter Six); swapping two word in any text editing (Chapter Seven); extracting IP addresses from text, then extracting the geographic location of each from the Web (Chapter Eight); stripping HTML tags from source code leaving only pure text (Chapter Nine); extracting links from a Web page and saving them to a text file (Chapter Ten); and validating e-mail addresses (Chapter Eleven). The final two chapters address slightly more advanced, but important topics, look-ahead and look-behind assertions, plus RegEx Properties p{xx}.

If you’re a novice script writer, you may be better served by starting with a beginning book or tutorial. If you’re a more experienced programmer, then "Regular Expressions in AutoHotkey" may act as a reference for how and when to use them in your AutoHotkey applications.

Mehr auf Amazon:

A Beginner’s Guide to Using Regular Expressions in AutoHotkey: Exploring the Mysteries of RegEx: Create Practical AutoHotkey Tools for Windows XP, Windows … Tips and Tricks Book 5) (English Edition)

Facebook Like
Autor: Martin Osman Hamann »

Martin Osman Hamann bloggt hier schon seit 2009 und es ist immer noch so aufregend wie am Ersten Tag. Was wahrscheinlich daher rührt weil er bisher nur 1 Artikel oder so veröffentlicht hat :)

Diesen Blog-Autor abonnieren:

Auf Facebook teile ich persönliche Dinge und stelle neue Projekte vor
YouTube nutze ich zurzeit noch nicht voll aus, kann aber noch kommen
Auf Google+ poste ich vorallem lustige Gifs und krankes Zeug
  Auf Twitter retweete ich lustige Tweets und twittere meine Posts
  Auf SoundCloud reposte ich Songs die ich gerne höre & lege Listen an
This post has been viewed 178 times

Kommentar zum Artikel verfassen

Pflichtfelder *

Vollständiger Name. Wird, falls vorhanden, mit Ihrer Homepage verlinkt.

Optional, nicht erforderlich.