ZMIME
Software development

Regular expressions AI prompts.

Match the supplied examples and exclusions using the specified regex engine.

Replace the bracketed fields with your information before using a prompt.

Start the task

Act as a software engineer.

Task — Match the supplied examples and exclusions using the specified regex engine.

Context — [describe the situation and intended audience].
Required information — Repository excerpts, runtime, versions, requirements, constraints and expected behavior.
Source material — [paste the relevant facts, text, data or documentation].
Constraints — [length, format, dates, budget, terminology and requirements].
Deliver — A pattern, explanation and positive and negative examples.

Use the supplied facts. Identify missing information before relying on it. Preserve names, figures, units and qualifications. Mark assumptions and use placeholders for facts that need confirmation. Ask focused questions if a missing fact would materially change the result.

Improve a draft

Review the following draft as a software engineer.

Original task — Match the supplied examples and exclusions using the specified regex engine.
Required deliverable — A pattern, explanation and positive and negative examples.
Audience and constraints — [paste the requirements].
Source material — [paste the facts or references].
Draft — [paste the draft].
Requested changes — [describe the improvement].

Check factual support, completeness, clarity and format. Return the revised draft and a short list of material changes. Mark unresolved questions and retain verified facts.

Check the result

Evaluate this result against the supplied requirements.

Task — Match the supplied examples and exclusions using the specified regex engine.
Expected deliverable — A pattern, explanation and positive and negative examples.
Requirements and evidence — [paste the brief and sources].
Result — [paste the output].

Return a table of requirement, evidence in the result, any issue and suggested correction. Check calculations, citations, consistency and missing inputs where relevant. Finish with the specific items a human should verify before using the result.