The Weekly Challenge - 364 #Perl #RakuLang
Task 1: Decrypt String
Task 2: Goal Parser
https://theweeklychallenge.org/blog/perl-weekly-challenge-364
The Weekly Challenge - 364

The Weekly Challenge - 364

The Weekly Challenge

@manwar Both challenges are appropriately solved with #RakuLang #RegEx

The second one is a #OneLiner but almost 🙂

Decrypt string: ```
S:g/[(\d)|(\d\d)\#]/{chr 96+$0}/
```

Goal parser: ```
my %p = '()' => 'o', '(al)' => 'al';
S:g/@(%p.keys)/{%p{$/}}/
```