evalPart Function

evalPart = (part, steps, count) -> ...

Purpose: Further evaluates a part of the page (e.g., an item in the story or an action in the journal) against a step in the program.

How it Works:

TEXT, TITLE, SITE, ID, ALIAS: Checks if these properties of the part match the provided regex.

JSON: Converts the part to a JSON string and checks for a match.