Jump to content

Regular Expressions in CK


Recommended Posts

Hi Guys,

 

This might be a better forum to post this.

 

I recently discovered the "FIlters" in CK support regular expressions. I haven't heard of this feature before, so I am assuming it is not common knowledge.

 

This feature has saved me a lot of time so far and I want to share it so others may benefit, too.

 

Example:

 

Say you want to display all receiver mods for all 3 types of pipe weapon. The object mod prefixes are; pipegun_receiver(...), pipeboltaction_receiver(...), piperevolver_receiver(....)

 

Normally you would have to find all these separately, which is time consuming and hard on the eyeballs.

 

In the "Filter" box of item window, you can enter "pipe*_receiver" where * is the wild-card used in regular expressions. The CK will return a list of all receivers for all pipe weapons.

 

Example:

 

If you use a prefix to denote items added by your mod, for example "gn_newitem" where "gn_" is the prefix you use. You can use "gn_*" to find all items you have added.

 

 

Hope this helps and sorry for repost.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...