[perl6/specs] 8efa3a: Correct Match.start/Match.end -> Match.from/Match....

----==_mimepart_51421864a530e_53794451388849a
Date: Thu, 14 Mar 2013 11:35:16 -0700
Mime-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID: <51421864aceb8_537944513888528@hookshot-fe6-pe1-prd.aws.github.net.mail>

  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs
  Commit: 8efa3ac10649401dbbcb6488975bc65d6b501326
      https://github.com/perl6/specs/commit/8efa3ac10649401dbbcb6488975bc65d6b501326
  Author: Rob Hoelz <rob@hoelz.ro>
  Date:   2013-03-14 (Thu, 14 Mar 2013)

  Changed paths:
    M S28-special-names.pod

  Log Message:
  -----------
  Correct Match.start/Match.end -> Match.from/Match.to




----==_mimepart_51421864a530e_53794451388849a--
0
noreply
3/14/2013 6:35:16 PM
perl.perl6.language 6843 articles. 0 followers. Follow

0 Replies
757 Views

Similar Articles

[PageSpeed] 11
Get it on Google Play
Get it on Apple App Store

Reply:

Similar Artilces:

match not matching
Can somebody help me understand this? Given this loop, and the logged output following ... my $found; for( @$products ) {; $found = $$_ =~ m|$project|; $dump = Data::Dumper->Dump([$_, $project, $$_, $found]); $logger->trace(qq(dump=$dump)); } I can't explain why $found is not true on the 3rd pass. Does this have something to do with the way I'm dereferencing the blessed object? SVN.Hooks - dump=$VAR1 = bless( do{\(my $o = 'FS1100-S1')}, 'RPC::XML::string' ); $VAR2 = 'STABLE/FS1100-S3/RSLOGIX_5000/'; $VAR3 = 'FS1100-S1'...

[perl6/specs] c8f2dc: Failed matches to return Nil, not (Match)
----==_mimepart_512929e6ce1a5_230615a6ae4840b4 Date: Sat, 23 Feb 2013 12:43:18 -0800 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-ID: <512929e6cf58c_230615a6ae4841a5@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: c8f2dcc68c3646bac45fafccd86368920ddd18ea https://github.com/perl6/specs/commit/c8f2dcc68c3646bac45fafccd86368920ddd18ea Author: Larry Wall <larry@wall.org> Date: 2013-02-23 (Sat, 23 Feb 2013) Changed paths: M S03-operators.pod ...

howto simplfy this regex if ($string =~/^$match | $match | $match$/g){
------=_NextPart_000_004C_01C8ADE9.8884D110 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Hi, How do I simplify the regex below so that it matches only the number 1, = henceforth it should return false if I match $string with $match. use strict; use warnings; my $string =3D "10 11 12 13 40"; my $match =3D 1; if ($string =3D~/^$match | $match | $match$/g){ print "match"; }else{ print "unmatch"; }; ------=_NextPart_000_004C_01C8ADE9.8884D110-- On Sun, May 4, 2008 at 1:19 AM, &l...

[PATCH] Change meaning of \v, \V, and add \h, \H to match Perl6, add \R to match PCRE and unicode tr18
------=_Part_114128_25243699.1177277695144 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline The attached patch changes \v and \V (as requested by Larry a while back) to match vertical whitespace (or not), adds support for \h and \H to match horizontal whitespace (or not) and adds \R which match line endings, (the same as (?>\x0D\x0A|\v) would match). \R is currently in PCRE 7 and is suggested in the unicode spec under http://unicode.org/unicode/reports/tr18/#Line_Boundaries. \v\V and \h\H are from Perl6. ...

match
$mystring3="abacadeusagaka35"; if($mystring =~ m/(a.+)/g){ print $1,"\n"; } Hi, I wonder how to print the "abacad" out? Thanks for any suggestions, Best regards, On Mon, Feb 13, 2012 at 9:48 PM, lina <lina.lastname@gmail.com> wrote: > $mystring3=3D"abacadeusagaka35"; > > if($mystring =3D~ m/(a.+)/g){ Here supposed to be if($mystring3 =3D~ m/(a.)+/) > =A0 =A0 =A0 =A0print $1,"\n"; showed "ad" only @myarray=3D($mystring3 =3D~ m/(a.)+/); print @myarray,"\n"; also showed "a...

match
Using ASA8 PB8.03 I am dev a jpn app where they use MS IME JPN input which can be defined as half width characters or full width characters something like (a s d d or asddfff) How can I force a validation rule to accept only half width katakana? something like; @columnA= halfwidth kana(obviously I need to replace the second part) or maybe using the match(string,textpattern) But what is the text pattern??? Is this App running on Japanese Windows? pbm_thisusuallydoesnothelp:-)) Philip Salgannik "Matt" <NoEmail@yahoo.com> wrote in message news:eVab6k2...

match data based on matching field
--Boundary_(ID_qfkdjg6SLYMMz7hVKeTUoA) Content-type: text/plain; charset=Windows-1252 Content-transfer-encoding: 7BIT I work with library cataloguing records and am trying to accomplish this amazing feat. Trying is no problem, amazing feat is eluding me I need to find all records with the same ISBN number (field 020)save all matching records which will result in more than 1 record with the same ISBN, then somehow magically end up with only 1 record containing all 856 fields. We import these record to the database from various vendors, and some titles are exactly the same resultin...

pivot sql matched matched to a report
I have a query that is a pivot table.   Not only will the column numbers vary but the name of the columns will change to.  This query will not always produce a result with same number of columns.What i want to do is just produce a report that is a "select * from pivot query" that will support multiple columns for diffrent runs of the query.Is this possible? I think to achieve this you would have to use a matrix instead of a table....

Finding Matching Users... but NOT for a Matching rule
I'm trying to write a create rule that says, "If a user being added has the same first and last name as an existing user, create the user with a "pendingXXX" CN." Then, admins can manually determine if the user should have been matched to a pre-existing record, or if this is indeed just a case of similar names. (For business reasons too complex to cover, I can't implement this in a matching rule and we have to leave the manual reconciliation in place.) I have a piece of XSLT (see below) that queries the directory to find a count of existing users who have...

[perl6/specs] e7cc2e: Be more explicit about what \N does not match.
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: e7cc2ecfb28f7591157275c3b484e42d297f05c2 https://github.com/perl6/specs/commit/e7cc2ecfb28f7591157275c3b484e42d297f05c2 Author: Daniel Colascione <daniel@censorshipresearch.org> Date: 2011-03-25 (Fri, 25 Mar 2011) Changed paths: M S05-regex.pod Log Message: ----------- Be more explicit about what \N does not match. ...

Regular expression substitution matching all possible matches
This is a question about perl regexp usage. I hope it's okay to post it here; it seemed too advanced for the beginners list. It may lead on to a possible feature request for the perl core. I would like to perform match-and-substitute finding all possible matches of a regular expression within a string. By 'all possible matches' I mean all productions from that regular expression, not just the production that perl's regexp engine happened to find first. So given the regexp /\Ax*/ and the string 'xxx', I would expect to see matches '', 'x', &#...

Multiple matching where one match attribute is not true?
Dear All I have a driver with a pretty simple matching rule where I am looking to match based on a unique attribute. However I know that the data quality is poor and that there may be duplicate entries found. These duplicates have been identified, however the requirement is to disable rather than delete the duplicates. How can I modify the match rule to say 'if Login Disabled is not true' The code snippet below will match User ID and Login Disabled set to true, but I want match UserId and Login Disabled not true <do-find-matching-object scope="subtree"...

matching
Hi! I have wrote the following code: while (<TEMP>) { if(m/(http:\/\/www.01net.com\/rdn?oid=[0-9].*&rub=[0-9].*)/ ) { print TEMP2 "$1\n" ; } } The matching doesn't work ! want to match for example : http://www.01net.com/rdn?oid=54682&rub=12456 Can anybody help me ? Thanks Franck > -----Original Message----- > From: COLLINEAU Franck FTRD/DMI/TAM > [mailto:franck.collineau@rd.francetelecom.com] > Sent: Tuesday, October 02, 2001 11:08 AM > To: Perl (E-mail) > Subject...

matching **
Hi all. Everyone has been so helpful with my other questions, I thought I would put out another one. I'm writing a script that searches through an array of hashes. One of the possible fields in the hash is "Comments" and sometimes the comments have characters such as ? or * in them. Right now, my search line looks like this if ($myhash{$searchVar} =~ /$value/i) { do stuff; } which works fine for regular text, but chokes up if $value is something like ** due to the matching. I know backslashes would help if I knew in advance it would be **, but the user sets t...

Finding out matching and not matching entries between two files !
--000e0cd2c14aec28cd046ecf10b6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, I need help regarding the approach to find out matched and unmatched entries between two files using perl. As the number of lines in the files would be around 10k-50k, I don't want to load entire file contents into memory. The first file (file1 also known as superset file) contains all the data in 4 columns in a format like country, state, city and id. The second file (file2 also known as subset file) contains some of the data from superset file with add...

Web resources about - [perl6/specs] 8efa3a: Correct Match.start/Match.end -> Match.from/Match.... - perl.perl6.language

Resources last updated: 12/18/2015 8:09:47 AM