01-20-2018, 01:29 PM
(This post was last modified: 01-20-2018, 01:51 PM by kremlin. Edited 1 time in total.)
it's every instance of the term "grep" in the codebase. the first field is the path of the file containing the term and the right is actual line it appaers on
there are some false positives like pingreply:
./obj/item/device/pda2/pda2.dm: pingreply.data["device"] = "NET_PDA_51XX"
whoops i shoulda taken a closer look heh.
ignore the WIP directory, there is a lot of currently used stuff sitting in it. it sorta needs cleaning up
there seems to be DM regular expression libraries available which would be a better solution than trying to write our own which is the approach taken in the code you linked. i would be against importing such a library as i don't think there's a good enough reason to warrant all that weight. printing lines that contain a match string is good enough for 99.999% of players
there are some false positives like pingreply:
./obj/item/device/pda2/pda2.dm: pingreply.data["device"] = "NET_PDA_51XX"
whoops i shoulda taken a closer look heh.
ignore the WIP directory, there is a lot of currently used stuff sitting in it. it sorta needs cleaning up
there seems to be DM regular expression libraries available which would be a better solution than trying to write our own which is the approach taken in the code you linked. i would be against importing such a library as i don't think there's a good enough reason to warrant all that weight. printing lines that contain a match string is good enough for 99.999% of players