MrMineDe / pakt

Pacman Shell Wrapper, to order and manager your packages in easy text files
GNU General Public License v2.0
2 stars 1 forks source link

allow +* or other regex stuff #25

Closed MrMineDe closed 3 days ago

MrMineDe commented 2 weeks ago

We have to detect regex, so we cant create a category file with random regex as name. Than we only work on the existing files

MrMineDe commented 2 weeks ago

Maybe it's a good idea to have a different character than + for this regex stuff?

hiimsergey commented 2 weeks ago

+* would be a good idea but do we need other regex capabilities? What could be real-world uses of that? Would it be possible to just reserve +* itself for the action? I'd like + too, the question is how to implement that.

MrMineDe commented 2 weeks ago

In my head implementing the regex stuff is not very complicated and rather straight forward, but i'll test it. If its complicated i'd also opt to just support +*. I dont really have a real world use case, but it seems like a nice to have feature nontheless, if it's not complicated, but idk... + can be easily checked by checking if $A is 1 char long

hiimsergey commented 2 weeks ago

It looks like it‘s a low priority issue not contributing to core functionality. If you struggle with the implementation, then at least let‘s postpone it.

MrMineDe commented 2 weeks ago

fair. assigned p4

hiimsergey commented 3 days ago

Solved with ++ instead of +* because the shell struggles with it. It also works with adding packages, it just puts the pkgs into all catfiles you currently have. :)