# Square Brackets no longer work

**URL:** https://community.mp3tag.de/t/square-brackets-no-longer-work/1567
**Category:** Support
**Created:** [December 27, 2004, 12:10pm UTC](https://community.mp3tag.de/t/square-brackets-no-longer-work/1567 "2004-12-27T12:10:39Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![baChoMp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@baChoMp](https://community.mp3tag.de/u/baChoMp)
#### Post date: [December 27, 2004, 12:10pm UTC](https://community.mp3tag.de/t/square-brackets-no-longer-work/1567/1 "2004-12-27T12:10:39Z")

</div>

Up until the latest release (2.27) I have been able to use square brackets in the Tag-\>Filename function or mp3tag successfully. I have a naming convention i use (%track%. %title% - [%artist%].mp3) for all my mp3's and wish to continue this practice (10,000+ mp3s)

I assume this is a bug if not, is there a way i can continue to do this?

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [December 27, 2004, 12:36pm UTC](https://community.mp3tag.de/t/square-brackets-no-longer-work/1567/2 "2004-12-27T12:36:22Z")

</div>

If you put backticks around the square brackets, it should work.

%track%. %title% - '[' %artist% ']'

**Edit:** This is also explained inside the [help](https://docs.mp3tag.de/scripting) file and the [What's new?](https://docs.mp3tag.de/getting-started/release-notes) document which popped up after installing MP3Tag 2.27.

> [@](#):
>
> $ % You have to put the single quote around these reserved characters if you want to use them unparsed.

---

<div class="post-metadata">

### Author: ![baChoMp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@baChoMp](https://community.mp3tag.de/u/baChoMp)
#### Post date: [December 27, 2004, 12:39pm UTC](https://community.mp3tag.de/t/square-brackets-no-longer-work/1567/3 "2004-12-27T12:39:35Z")

</div>

nice work. Works a treat. Any reason why this changed?

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [December 27, 2004, 12:44pm UTC](https://community.mp3tag.de/t/square-brackets-no-longer-work/1567/4 "2004-12-27T12:44:11Z")

</div>

> [@](#):
>
> nice work. Works a treat. Any reason why this changed?
> 
> \<{POST\_SNAPBACK}\>

This change is part of the new parser. I guess Florian can go into the details if you want.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 27, 2004, 2:19pm UTC](https://community.mp3tag.de/t/square-brackets-no-longer-work/1567/5 "2004-12-27T14:19:37Z")

</div>

> [@](#):
>
> nice work. Works a treat. Any reason why this changed?
> 
> \<{POST\_SNAPBACK}\>

I had to rewrite the whole parser, because the old one has major issues with backslashes and double quotes. One new feature of the new parser (which behaves almost like [foobar2000's](http://foobar2000.org) TAGZ) is the conditional nature of the square brackets. I like it 🙂

Best regards,  
~ Florian

---

<div class="post-metadata">

### Author: ![baChoMp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@baChoMp](https://community.mp3tag.de/u/baChoMp)
#### Post date: [December 28, 2004, 11:56am UTC](https://community.mp3tag.de/t/square-brackets-no-longer-work/1567/6 "2004-12-28T11:56:03Z")

</div>

No doubt about it, you rock !!!

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:19pm UTC](https://community.mp3tag.de/t/square-brackets-no-longer-work/1567/7 "2026-02-09T12:19:17Z")

</div>


