# Pattern match help-- crunched for time :(

**URL:** <https://cl.desmos.com/t/pattern-match-help-crunched-for-time/3596>\
**Category:** Questions\
**Tags:** patterns\
**Created:** [August 15, 2021, 10:58pm UTC](https://cl.desmos.com/t/pattern-match-help-crunched-for-time/3596 "2021-08-15T22:58:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Holcomb](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jeff_holcomb/32/433_2.png) [@Jeff\_Holcomb](https://cl.desmos.com/u/Jeff_Holcomb)\
**Post date:** [August 15, 2021, 10:58pm UTC](https://cl.desmos.com/t/pattern-match-help-crunched-for-time/3596/1 "2021-08-15T22:58:50Z")

</div>

Hey friends,  
I am crunched for time and need some help with pattern matching. Take a look at slide 2 on this AB. I want to verify that the student has entered an expression and not just the center number. Of course, any other improvements are welcome!

> **[Number Muncher • Activity by Jeff Holcomb](https://classroom.amplify.com/activity/61198ad465578728c34b5685)**
>
> The intent here is to further develop the use of order of operations.
> 
> Thanks to https://countjoy12.wordpress.com/2016/08/23/number-muncher-an-order-of-operations-game/ for the heads up on this game!

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [August 16, 2021, 12:05am UTC](https://cl.desmos.com/t/pattern-match-help-crunched-for-time/3596/2 "2021-08-16T00:05:50Z")

</div>

If they’re limited to the outer values (and the inner one is not equivalent to an outer), can you just use `countNumberUsage(this.latex,centerNumber)=0`? Just off the top of my head as a quick solution.

---

<div class="post-metadata">

**Author:** ![Jeff\_Holcomb](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jeff_holcomb/32/433_2.png) [@Jeff\_Holcomb](https://cl.desmos.com/u/Jeff_Holcomb)\
**Post date:** [August 16, 2021, 5:09pm UTC](https://cl.desmos.com/t/pattern-match-help-crunched-for-time/3596/3 "2021-08-16T17:09:22Z")

</div>

TY! Been away from CL, getting my sea legs back.
