@@ -494,13 +494,13 @@ H ← "Hello, world!!"
494494⍤⤙≍ ".H.e.l.l.o.,. . . .w.o.r.l.d.!.!." ⍜regex⋅@. "" H
495495# different replacement forms:
496496⊙H $ (\w)(\w*)
497- ⍤⤙≍ "olleH, dlrow!!" ◡⍜regex≡⍜⊢⇌ # 2d, boxed strings
497+ ⍤⤙≍ "olleH, dlrow!!" ◡⍜regex≡⍜⊢⍚ ⇌ # 2d, boxed strings
498498# 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
503503⍤⤙≍ "olleH, dlrow!!" ◡⍜regex≡(⊟⊸⇌°□⊢) # 1d strings
504- ⍤⤙≍ "bip, bip!!" ◡⍜regex⋅"bip" # string
505- ⍤⤙≍ "*, *!!" ◡⍜regex⋅@* # char
504+ ⍤⤙≍ "bip, bip!!" ◡⍜regex⋅"bip" # string
505+ ⍤⤙≍ "*, *!!" ◡⍜regex⋅@* # char
506506⋅◌
0 commit comments