original_string: protected function get_unescaped_options($value) {
  
          // Can be multiple comma separated, with valuable commas escaped with backslash.
          $optionsarray = array_map(
              'trim',
              preg_replace('/\\\,/', ',',
                  preg_split('/(?<!\\\),/', $value)
             )
          );
  
          // Sort by value (keeping the keys is irrelevant).
          core_collator::asort($optionsarray, SORT_STRING);
  
          // Returning it as a string which is easier to match against other values.
          return implode('|||', $optionsarray);
      }
code: protected function get_unescaped_options($value) {
  
          // Can be multiple comma separated, with valuable commas escaped with backslash.
          $optionsarray = array_map(
              'trim',
              preg_replace('/\\\,/', ',',
                  preg_split('/(?<!\\\),/', $value)
             )
          );
  
          // Sort by value (keeping the keys is irrelevant).
          core_collator::asort($optionsarray, SORT_STRING);
  
          // Returning it as a string which is easier to match against other values.
          return implode('|||', $optionsarray);
      }
code_tokens: protected function get_unescaped_options ( $ value ) { // Can be multiple comma separated, with valuable commas escaped with backslash. $ optionsarray = array_map ( 'trim' , preg_replace ( '/\\\,/' , ',' , preg_split ( '/(?<!\\\),/' , $ value ) ) ) ; // Sort by value (keeping the keys is irrelevant). core_collator :: asort ( $ optionsarray , SORT_STRING ) ; // Returning it as a string which is easier to match against other values. return implode ( '|||' , $ optionsarray ) ; }
docstring: Cleans the list of options and returns it as a string separating options with |||.
  
  @param string $value The string containing the escaped options.
  @return string The options
docstring_tokens: Cleans the list of options and returns it as a string separating options with ||| .