Your Universal Remote Control Center
RemoteCentral.com
Custom Installers' Lounge Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 3 made on Tuesday May 1, 2018 at 11:34
mborner
Long Time Member
Joined:
Posts:
January 2006
122
On April 30, 2018 at 13:37, TEJ said...
Not sure about demopad and it's handling of regex, but this works in perl:
 
$volume=405;
$volume =~ s/(\d{1,3})(\d)/\1\.\2/;

Thanks, TEJ, but I'm now thinking this is something that cannot be done using regular expressions and or Demopad. Even the parsed data from the receiver has no decimal points or zeroes as the third digit. I'm at a loss as to how iRule did it.


Hosting Services by ipHouse