1. A method to be executed by a processor in an electronic environment, comprising: receiving an object in a network environment; receiving a search query that includes a first regular expression, wherein the first regular expression comprises a string according to one or more syntax rules; mapping the first regular expression to a first attribute, wherein the first attribute is included amongst a plurality of attributes provided in an attribute map, and wherein the plurality of attributes each represent respective regular expressions; and parsing only the regular expressions related to attributes that have not been found in the object, wherein if a parsing activity identifies a match for the first regular expression in the object, then other regular expressions that contain the first attribute are not searched for the search query.