similar to: Subexpression usage in Asterisk Dialplan Regular Expressions

Displaying 20 results from an estimated 10000 matches similar to: "Subexpression usage in Asterisk Dialplan Regular Expressions"

2006 Mar 25
7
Regexp subexpression
I can't get the PERL subexpression translated to R. Following, for example, B. Ripley's http://finzi.psych.upenn.edu/R/Rhelp02a/archive/58984.html I am using sub, but it looks like an ugly substitute. Assume I want to extract the first alpha part and the first numeric part, but only if they are in sequence. Do I really have to use the sub twice, first extracting the first variable, then
2008 Oct 16
1
[LLVMdev] Local common subexpression elimination
Hi all, Is there any existing pass that performs fast local common subexpression elimination? The reason I'm asking is because global common subexpression elimination (GVN or GVN-PRE) is too slow for my JIT purposes, but I see lots of value in local CSE. Thanks, Nicolas -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Feb 01
5
regular expression submatch?
What is the simplest way to extract a matched subexpression? Eg. in perl you can do "hello world" =~ m/hello (.*)/ which would return 1(true) and set $1 to the matched subexpression "world". -- View this message in context: http://n4.nabble.com/regular-expression-submatch-tp1459146p1459146.html Sent from the R help mailing list archive at Nabble.com.
2003 Sep 04
1
Regular expression matching for ":" - examples needed
It is again perhaps my recent spate of bad sleeping that has prevented my brain from wrapping around this explanation, or it is perhaps my inherent hatred of regular expression syntax. However, I have been unable to put this into a working form after staring at it for a while and trying different recipes. If anyone wants to take a stab at this, I'd appreciate it. (from
2006 Oct 13
2
[LLVMdev] opt usage?
I'm new to the LLVM, so please forgive what might be a silly question. I'd like to use the opt bytecode-to-bytecode optimizer, but when I try running it to do, for example, dead code elimination (-dce) or global common subexpression elimination (-gcse), nothing much seems to happen: opt -gcse -dce -o bar-opt.bc bar.bc llvm2cpp -o bar-opt.cpp bar-opt.bc
2010 Jan 11
0
trouble with installing pbatR
Hello folks, I am having a problem installing pbatR package. (My R version is 2.8.1.) As I execute a command > install.packages(lib='/usr/local/apps/R-2.8.1/lib64/R/library', "pbatR") it detects lack of rootSolve package and attempts to install it. But cannot seem to compile it, and the rest is aborted. Any hint as to what I can do? Thank you in advance for your
2010 Nov 05
1
Regular Expressions
Hi, I'm trying to figure out how to use capturing parenthesis in regular expressions in R. (Doing this in Perl, Java, etc. is fairly trivial, but I can't seem to find the functionality in R.) For example, given the string: "10 Nov 13.00 (PFE1020K13)" I want to capture the first to digits and then the month abreviation. In perl, this would be /^(\d\d)\s(\w\w\w)\s/ Then
2002 Aug 10
0
?subexpressions, D, deriv
Hi all, I am not used to using the computer to do calculus and have up to now done my differentiation "by hand" , calling on skills I learned many years ago and some standard cheat sheets. My interest at present is in getting the second derivative of a gaussian, which I did by hand and results in a somewhat messy result involving terms in sigma^5 .. I have done some spot checks
2010 Jan 29
2
evaluating expressions with sub expressions
Hallo I'm having trouble figuring out how to evaluate an expression when one of the variables in the expression is defined separately as a sub expression. Here's a simplified example mat <- expression(0, f1*s1*g1) # vector of formulae g1 <- expression(1/Tm) # expansion of the definition of g1 vals <- data.frame(f1=1, s1=.5, Tm=2) # one set of possible values for
2007 Jan 29
0
[LLVMdev] A question about GetElementPtr common subexpression elimination/loop invariant code motion
On Mon, 29 Jan 2007, Gil Dogon wrote: > Now the problem with this code , is that the calculation of the address > mat[i][j] which is done by the (two) getelementptr instructions > is quite expensive (involving at least two multiplications and one > addition) hence it actualy should have been moved out of the inner loop. Right. > and not twice. Anyway this is just a syptom of a
2007 Jan 29
2
[LLVMdev] A question about GetElementPtr common subexpression elimination/loop invariant code motion
Hello. I have a problem which is quite basic for array optimization, amd I wonder whether I am missing something, but I could not find the LLVM pass that does it. Consider the following code snippet: int test() { int mat[7][7][7]; int i,j,k,sum=0; for(i=0;i<7;i++){ for(j=0;j<7;j++){ for(k=0;k<7;k++){ sum+=mat[i][j][k]^mat[i][j][k^1]; } } } return
2015 Jul 24
2
[LLVMdev] some superoptimizer results
Hi, On 23/07/15 19:11, Philip Reames wrote: > > > On 07/23/2015 07:24 AM, John Regehr wrote: >>> I guess another way to select interesting transformations could be to look >>> for sequences where the >>> result uses a "subset" of the input instruction sequence. >> >> Yeah, I had been noticing those subsets too. It sounds like it's
2011 Aug 15
0
1.4.38 passing a Regular expression containing a pipe character to a macro ?
Howdy, I'm working on a macro that authenticates the calling extension against a list of allowed extensions but it looks like the Expression I'm attempting to send of pipe separated extensions is showing up as additional arguments to my macro. I expected to have 4 arguments to the below macro, Instead it looks like I'm actually getting 6. I'm open to suggestions to other ways
2004 Aug 27
2
Using regular expression in dialplan
Hi all, Did anyone manage to make the GotoIf command work with regular expression ? I would like to make the following thing: ${DTMSeq} contains a menu choice. Only 1, 2 and 3 are allowed menu choices. If DTMFSeq contains 1 or 2 or 3 => OK, Goto 4 else Goto 2 I've tried the follwoing syntax but it is alway going to 2 whatever the value of DTMFSeq: exten =>
2011 Aug 04
0
[LLVMdev] Multiple one-line bugs in LLVM
Hi Lockal S, > ---- > > lib/Target/X86/X86ISelLowering.cpp:11689 > !DAG.isKnownNeverZero(LHS)&& !DAG.isKnownNeverZero(LHS)) > > Note that there are identical subexpressions '!DAG.isKnownNeverZero (LHS)' to > the left and to the right of the '&&' operator. > The second subexpression should probably be !DAG.isKnownNeverZero(RHS)). a patch
2011 Aug 04
3
[LLVMdev] Multiple one-line bugs in LLVM
Hi. There are few one-line bugs Andrey Karpov have found with static analisys. He wrote a big article in russian on http://habrahabr.ru/blogs/compilers/125626/ for advertising purposes of static analyzer for Visual Studio his company developed. Most of the problems are easy to fix, so I list them in here for trunk version. Also few problems in clang code were found, I don't list them in here.
2009 Nov 24
1
asterisk trunk CURL hangs in the dialplan
We've encountered a strange issue with the trunk version of asterisk. Our dialplan makes CURL calls and occasionally CURL stops working. The dialplan looks something like this: [macro-curl] ; ${ARG1} CURL URL ; ${ARG2} CURL POST exten => s,1,NoOp(CURL) ... exten => s,n(post),Set(RF_CURL_POST=userID=${RF_DIALER_USERID}&password=${RF_PASSWORD}&${ARG2}) exten =>
2015 Mar 25
0
Determining if a queue member is paused in Dialplan logic. [1.8]
asterisk-users-bounces at lists.digium.com wrote on 03/25/2015 01:38:26 PM: > I'm looking at enabling autopause on one of my queues where my queue > members are bad about leaving their desks without pausing. > The problem I see is that when the queue pauses an Member it doesn't > jump into the dialplan to do so which means my handy device state > and asterisk database
2009 Sep 22
2
Problem with dialplan -> gotoif ?
Hi This is the output from show dialplan dial-sipmnf-sippt-pstn [ Context 'dial-sipmnf-sippt-pstn' created by 'pbx_config' ] 's' => 1. Verbose(1,Dialing ${ARG1} on mnf pt pstn) [pbx_config] 2. Dial(SIP/${ARG1}@${SIPMNF},${ARG2},${OUTBDIAL}) [pbx_config] 3. Set(GLOBAL(FOUNDME)=${DIALSTATUS}) [pbx_config]
2016 Jun 27
1
Loop unrolling parameters
We've notice that when loops are unrolled there seems to be a limit of 64 subexpressions that can be assigned to registers. In our architecture we've got a lot more registers available than just 64. Is there some parameter we can change to the loop unroller that allows more subexpressions to be assigned to a number of registers beyond 64? Phil -------------- next part -------------- An