Added support for %w{} syntax. Fixes and closes #12