Post AXUTrIDyMofMRUl63c by meso@the.asbestos.cafe
 (DIR) More posts by meso@the.asbestos.cafe
 (DIR) Post #AXUTkZxG307FPBjsFU by Moon@shitposter.club
       2023-07-08T16:56:45.698883Z
       
       0 likes, 1 repeats
       
       How do I do this in perl:stroke(140 + random(20), 70 + random(30), 80 + random(20));I just need any numeric value inside random(whatever)
       
 (DIR) Post #AXUTrIDyMofMRUl63c by meso@the.asbestos.cafe
       2023-07-08T16:58:01.158217Z
       
       0 likes, 0 repeats
       
       @Moon  @Arcana
       
 (DIR) Post #AXUUBtrU8s2kxq4BRA by p@raru.re
       2023-07-08T17:01:44Z
       
       0 likes, 0 repeats
       
       @Moon
       
 (DIR) Post #AXUUM1HNQ0J4ri0DLM by Moon@shitposter.club
       2023-07-08T17:03:29.129160Z
       
       0 likes, 0 repeats
       
       @p I'm trying to write a regex in perl to extract the value between random(whatever)
       
 (DIR) Post #AXUV9qG6fNijAIAJiy by MercurialBlack@pleroma.mercurial.blog
       2023-07-08T17:12:33.162724Z
       
       0 likes, 0 repeats
       
       @meso @Arcana @Moon I like your avatar meso
       
 (DIR) Post #AXUVJlunfeh4aaw02K by Moon@shitposter.club
       2023-07-08T17:14:21.317913Z
       
       0 likes, 0 repeats
       
       @Arcana @meso this is drawing a line of a certain color in HSL colorspace, using P5 JavaScript library.
       
 (DIR) Post #AXUVic0jdETx6xYU5o by Moon@shitposter.club
       2023-07-08T17:18:49.451927Z
       
       0 likes, 0 repeats
       
       @Arcana @meso my post was confusing. I was attempting to use perl on the command line to extract every value inside random(number) inside a string that is multiple rows of strokes
       
 (DIR) Post #AXUWxoPLvDvnrFsivY by dodex1000@bae.st
       2023-07-08T17:32:20.952105Z
       
       1 likes, 0 repeats
       
       @Moon  So you want to extract the numbers from random using perl from a CLI command? I think this would do that.  echo 'stroke(140 + random(20), 70 + random(30), 80 + random(20));' | perl -ne ' while($_ =~ /random.([0-9]+)./g){ print "$1\n" }'