On 10/23/21 21:31, Francis Grizzly Smit wrote:
On 24/10/2021 12:59, ToddAndMargo via perl6-users wrote:
On 10/23/21 18:03, Bruce Gray wrote:
As to your "null string", I am glad that you resolved your problem,
but I cannot get this code to hang:
$NewRev ~~ s/ ^ .*? ('Release Notes V') //;
On 10/23/21 19:02, ToddAndMargo via perl6-users wrote:
On 10/23/21 18:03, Bruce Gray wrote:
^ .*?
Hi Bruce,
I am not seeming the difference between
^ .*? and
.*?
`.*?` means to search to the first instance of the
string. `^` means to start at the beginning. I
do not see the di
On 24/10/2021 12:59, ToddAndMargo via perl6-users wrote:
> On 10/23/21 18:03, Bruce Gray wrote:
>> As to your "null string", I am glad that you resolved your problem,
>> but I cannot get this code to hang:
>> $NewRev ~~ s/ ^ .*? ('Release Notes V') //;
>> , just by preceding it with this line:
On 10/23/21 18:03, Bruce Gray wrote:
^ .*?
Hi Bruce,
I am not seeming the difference between
^ .*? and
.*?
`.*?` means to search to the first instance of the
string. `^` means to start at the beginning. I
do not see the difference.
On 10/23/21 18:03, Bruce Gray wrote:
As to your "null string", I am glad that you resolved your problem, but I
cannot get this code to hang:
$NewRev ~~ s/ ^ .*? ('Release Notes V') //;
, just by preceding it with this line:
$NewRev = '';
, so I may misunderstand the nature of you
> On Oct 23, 2021, at 7:48 PM, ToddAndMargo via perl6-users
> wrote:
>
> On 10/23/21 17:37, Bruce Gray wrote:
>>> On Oct 23, 2021, at 6:43 PM, ToddAndMargo via perl6-users
>>> wrote:
>>>
>>> Hi All,
>>>
>>> Wish I had a Q[;;;] expression inside a regex, but I don't
>>>
>>> This is my not
On 10/23/21 17:37, Bruce Gray wrote:
On Oct 23, 2021, at 6:43 PM, ToddAndMargo via perl6-users
wrote:
Hi All,
Wish I had a Q[;;;] expression inside a regex, but I don't
This is my notes on how to do a regex with a special
characters in it:
Regex with literals in it:
$JsonAdd
> On Oct 23, 2021, at 6:43 PM, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> Wish I had a Q[;;;] expression inside a regex, but I don't
>
> This is my notes on how to do a regex with a special
> characters in it:
>
> Regex with literals in it:
>$JsonAddr ~~ s| (';') .*
On 10/23/21 16:56, Kevin Pye wrote:
Does
$NewRev ~~ s/ .* 'Release Notes V' //
have the problem?
I fixed the hang. I was giving the regex a zero
length file.
$NewRev ~~ s/ .* "Release Notes V" //
worked. Where I get into problems is with things like
`` and
``
and such.
So wha
Assuming that all you are trying to do is to delete everything at the start
of a line up to and including that string, the first thing I would do is
get rid of all the superfluous parts of the regex.
Does
$NewRev ~~ s/ .* 'Release Notes V' //
have the problem?
".*" means any number of characters,
Hi All,
Wish I had a Q[;;;] expression inside a regex, but I don't
This is my notes on how to do a regex with a special
characters in it:
Regex with literals in it:
$JsonAddr ~~ s| (';') .* ||;
It "usually" works.
Unfortunately this one hangs my program (I am slicing
up a web pa
11 matches
Mail list logo