cblock
-
Posts
2 -
Joined
-
Last visited
Reputation Activity
-
cblock reacted to deanishe in Multi-line regex replace issue
Not sure this isn't the expected behaviour, tbh.
As a workaround, you can use a capture group to keep the newline from the input:
-
cblock reacted to Andrew in Multi-line regex replace issue
Sorry about the slow reply on this. I've now had a chance to look into what is happening.
Alfred is using NSRegularExpression which treats \ in the replacement template string as a literal, and it looks like it's just being stripped in the replacement.
See Table 3 here:
https://developer.apple.com/documentation/foundation/nsregularexpression?language=objc
If you were to actually put a new line in the replacement (i.e. instead of using \n, use alt+return), then it works as expected.
Cheers,
Andrew
-
cblock reacted to Russell Davis in EggTimer v2 [updated to 2.0 final]
@Luciano Santana (and anyone else following along), there are a few commands (Create New Timer, Create New Alarm, and View Recent) that are still broken in Alfred 3. I have a branch that fixes them. (I also submitted a PR to Luciano's repo.)
-
cblock reacted to Carlos-Sz in Recent Items 4.3 beta 2 for Alfred 4: Finder Recent Items
Updated link: Download
-
cblock got a reaction from patgilmour in Recent Items 4.3 beta 2 for Alfred 4: Finder Recent Items
Anyone can just up a mirror please?
Drop it here?
The download link has been broken for a while...