コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持

It appears that the only way to do a complex search including one or more strings that I want to NEGATE (i.e. results will NOT contain the strings) is to write a WAQL query using RegEx.

However, due to the strict character limit for WAQL queries in the Query Editor, and by being forced to enter each string as case-insensitive via the RegEx syntax (e.g. to match BAR, Bar, or baR, the RegEx must be written as [bB][aA][rR]), the process of writing an effective query is often tedious, the length/step count/execution time of the expression is typically inefficient, and sometimes, it's impossible to write a query that functions as intended and/or returns the desired result.

Is there any way to add the RegexOptions.IgnoreCase option (either inline in the query, or in a config file somewhere) to make RegEx strings in a WAQL query be handled as case-insensitive?

If not, I sincerely hope that this option/preference will be added in the very near future.

And hopefully, after 3 posts here without a single reply, I'll finally get a response this time, and be able to feel like asking questions in this forum isn't just a complete waste of time.


Wwise 2021.1.8
Windows 10 Pro (10.0.19043 Build 19043)
UnrealEditor 5.0.2.0

Mike MKJ (300 ポイント) General Discussion

回答 1

0 支持
 
ベストアンサー

Thanks for the suggestion. We noted.

Also note the : operator allow for case-insensitive word match.

example:
$ where name : "bar"

will match:
"BIG BAR"
"bar"
"Bar"
"small bar blue"
"CROW_BAR"

Bernard R. (Audiokinetic) (35.8k ポイント)
Mads Maretty S. (Audiokinetic) 選択
Unfortunately, this method doesn't allow for any other useful Regular Expression functionality. Therefore, while it may be useful in matching a simple string within a property/reference name, it cannot do more complex matching functionality that can be achieved with current standard ECMAScript RegEx, such as:

$ where name=/\b(bar)\b/i
or
$ where name=/\b(?i:bar)\b/

either of these would match "bar", "Bar", or "BAR", but would not match "barrier", "Barn", "embarassed", or "FUBAR".

Furthermore, the WAQL Reference documentation states "ECMAScript regular expressions are used". This is inaccurate as modern ECMAScript allows for several modifiers by default (using the syntax in my examples above) including global (g), multiline (m), and ignoreCase (i). The documentation should be updated to include the differences between the standard ECMAScript RegEx, and the modified version of it that is used in Wwise.

Or, even better yet, Wwise should be updated to support the use of these modifiers, primarily the ignoreCase modifier.
...