# Avoid syntax issue in cloud notebooks  (" \_." converted to "\_" and ".")?

**URL:** <https://community.wolfram.com/t/avoid-syntax-issue-in-cloud-notebooks-converted-to-and/14242>\
**Category:** Questions\
**Tags:** computational-notebooks, wolfram-cloud\
**Created:** [June 18, 2019, 12:46pm UTC](https://community.wolfram.com/t/avoid-syntax-issue-in-cloud-notebooks-converted-to-and/14242 "2019-06-18T12:46:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mluntz](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@mluntz](https://community.wolfram.com/u/mluntz)\
**Post date:** [June 18, 2019, 12:46pm UTC](https://community.wolfram.com/t/avoid-syntax-issue-in-cloud-notebooks-converted-to-and/14242/1 "2019-06-18T12:46:21Z")

</div>

I have found what I am certain is a bug in wolfram cloud. I generate the following code in Mathematica and then save it to the cloud.

```
Clear["Global`*"]
List@@Expand[(1+x)^6]/.a_. x^b_.->{b,a}

```

This initially runs correctly in the cloud notebook. But if I edit the notebook on the cloud, for example changing the exponent in the expansion from 6 to 7, then running the notebook results in a syntax error. I looked at the text on the cloud after editing the notebook and the  
" _."  
has been converted to separate objects,  
"_" and “.”.

---

<div class="post-metadata">

**Author:** ![jpoeschko](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/jpoeschko/32/21975_2.png) [@jpoeschko](https://community.wolfram.com/u/jpoeschko)\
**Post date:** [June 18, 2019, 5:03pm UTC](https://community.wolfram.com/t/avoid-syntax-issue-in-cloud-notebooks-converted-to-and/14242/2 "2019-06-18T17:03:11Z")

</div>

Thanks for the report! This is a cloud bug indeed. Incidentally, we’re already working on an overhaul of our client-side input tokenizer (where this is currently going wrong) that will fix this issue. I’ve still filed a bug ticket in our system (just for reference: CLOUD-15982).

As a workaround for now, you could use an explicit `Optional` wrapper, i.e.

```
Optional[a_]

```

instead of:

```
a_.

```

---

<div class="post-metadata">

**Author:** ![mluntz](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@mluntz](https://community.wolfram.com/u/mluntz)\
**Post date:** [June 18, 2019, 5:38pm UTC](https://community.wolfram.com/t/avoid-syntax-issue-in-cloud-notebooks-converted-to-and/14242/3 "2019-06-18T17:38:45Z")

</div>

Thanks for the workaround suggestion Jan.
