Re: how do I match the next two characters?

2018-01-22 Thread ToddAndMargo
On Fri, Jan 19, 2018 at 12:29 AM, Todd Chester > wrote: On 01/18/2018 05:17 PM, mimosinnet wrote: The '?' is not necessary Indeed! I use `.*?` when I do not want the wild card to be "greedy" When I have a

Re: Memory leak with NativeCall

2018-01-22 Thread Elizabeth Mattijsen
This feels like a bug to me. So please make report this as a potential issue, either by mailing rakudo...@perl.org, or by creating an issue on http://github.com/rakudo/rakudo . Thank you! > On 22 Jan 2018, at 01:24, David E. wrote: > > I'm not certain where to

Re: Memory leak with NativeCall

2018-01-22 Thread David E.
It looks like the String may not be at fault - changing the argument to an int32 pointer results in the same memory leak. In either case, the variable is allocated on the static in the C function and would be automatically freed when the function returns, so the problem has to be some temporary