@@ -494,13 +494,13 @@ H ← "Hello, world!!"
494
494
⍤⤙≍ ".H.e.l.l.o.,. . . .w.o.r.l.d.!.!." ⍜regex⋅@. "" H
495
495
# different replacement forms:
496
496
⊙H $ (\w)(\w*)
497
- ⍤⤙≍ "olleH, dlrow!!" ◡⍜regex≡⍜⊢⇌ # 2d, boxed strings
497
+ ⍤⤙≍ "olleH, dlrow!!" ◡⍜regex≡⍜⊢⍚ ⇌ # 2d, boxed strings
498
498
# TODO: remove ∘ when the misoptimization is fixed
499
- ⍤⤙≍ "olleH, dlrow!!" ◡⍜regex≡(∘⇌⊢) # 1d boxed strings
500
- ⍤⤙≍ "bip, bip!!" ◡⍜regex⋅(□"bip") # boxed string
501
- ⍤⤙≍ "*, *!!" ◡⍜regex⋅(□@*) # boxed char
502
- ⍤⤙≍ "olleH, dlrow!!" ◡⍜regex≡(⇌°□⊢) # 2d strings
499
+ ⍤⤙≍ "olleH, dlrow!!" ◡⍜regex≡(∘⍚ ⇌⊢) # 1d boxed strings
500
+ ⍤⤙≍ "bip, bip!!" ◡⍜regex⋅(□"bip") # boxed string
501
+ ⍤⤙≍ "*, *!!" ◡⍜regex⋅(□@*) # boxed char
502
+ ⍤⤙≍ "olleH, dlrow!!" ◡⍜regex≡(⇌°□⊢) # 2d strings
503
503
⍤⤙≍ "olleH, dlrow!!" ◡⍜regex≡(⊟⊸⇌°□⊢) # 1d strings
504
- ⍤⤙≍ "bip, bip!!" ◡⍜regex⋅"bip" # string
505
- ⍤⤙≍ "*, *!!" ◡⍜regex⋅@* # char
504
+ ⍤⤙≍ "bip, bip!!" ◡⍜regex⋅"bip" # string
505
+ ⍤⤙≍ "*, *!!" ◡⍜regex⋅@* # char
506
506
⋅◌
0 commit comments