Tag Archive: Regular expression

Mar 13 2017

Series on Bash Scripts from Like Geeks

Like Geeks recently published an interesting series on writing Bash shell scripts: Today we are going to talk about bash script or shell scripting actually, they are called shell scripts in general but we are going to call them bash scripts because we are going to use bash among the other Linux shells. There are …

Continue reading »

Nov 30 2012

Why Asterisk-based GUI software should make better use of regular expressions

Having recently discovered that Asterisk supports regular expressions (with some limitations), I got to wondering why the FreePBX-based GUI’s don’t make better use of them.  For example, in FreePBX, Trixbox, Elastix, etc., the Outbound Route pages all support entering patterns that are then directly used in Asterisk dialplans, in a most inefficient manner.  Let me …

Continue reading »

Nov 23 2012

How to use the FreePBX [macro-dialout-trunk-predial-hook] macro and regular expressions to blacklist or whitelist outgoing calls on all trunks

DISCLAIMER: Just because I do something a certain way doesn’t mean YOU should, at least not without extensive testing to make sure that it will do what you want. I do not warrant that anything shown here will in any way save you from getting a high phone bill. If that should happen, consider it …

Continue reading »

Nov 21 2012

Did you know that Asterisk has the ability to evaluate Regular Expressions, though not in the same way as Perl or FreeSWITCH?

I happened to be searching the Asterisk issue tracker a few minutes ago (trying to figure out why the Asterisk Blacklist suddenly stopped working for no apparent reason on one of my systems) and happened to notice this issue which had just been posted today: REGEX function ignores shorthand character starting with backslash Wait, you …

Continue reading »

Jun 08 2006

Regular Expression Laboratory

If you are like me and haven’t had to do much with regular expressions, but every so often encounter them (or worse yet, want to create one), you may find this free software useful. It’s called Regular Expression Laboratory and this is the description: Regular Expression Laboratory is an assistant simple to use tool to …

Continue reading »

%d bloggers like this: