- The PCRE flavour of RegEx is used here.
- Append the
i
modifier to the end of the regex to make any pattern case-insensitive.
| Purpose | Description | RegEx | Example |
/* | |
* Copyright (C) 2016 Jeff Gilfelt. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
// GSON can parse the data. | |
// | |
// Deserialization: | |
// Note there is a bug in GSON 2.3.1 that can cause it to StackOverflow when working with RealmObjects. | |
// To work around this, use the ExclusionStrategy below or downgrade to 1.7.1 | |
// See more here: https://code.google.com/p/google-gson/issues/detail?id=440 | |
// | |
// Serialization: | |
// <Type>RealmProxy objects are created by the Realm annotation processor. They are used to control | |
// access to the actual data instead of storing them in fields and it is therefore them we need to register a |
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
Copyright (C) 2015 The Android Open Source Project | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
This gist has graduated to a full-fledged repo @ https://github.com/JakeWharton/ProcessPhoenix
package com.chasechocolate.example; | |
import java.lang.reflect.Field; | |
import java.util.HashMap; | |
import net.minecraft.server.v1_6_R2.DataWatcher; | |
import net.minecraft.server.v1_6_R2.EntityPlayer; | |
import net.minecraft.server.v1_6_R2.Packet; | |
import net.minecraft.server.v1_6_R2.Packet205ClientCommand; | |
import net.minecraft.server.v1_6_R2.Packet24MobSpawn; |
import java.io.IOException; | |
import java.net.URL; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.acra.ACRA; | |
import org.acra.ReportField; | |
import org.acra.collector.CrashReportData; | |
import org.acra.sender.ReportSender; | |
import org.acra.sender.ReportSenderException; |
<?php | |
namespace Linkofy\CommonBundle\Menu; | |
use Knp\Menu\FactoryInterface; | |
use Symfony\Component\DependencyInjection\ContainerAware; | |
class Builder extends ContainerAware | |
{ | |
public function mainMenu(FactoryInterface $factory, array $options) |
<?php | |
namespace Linkofy\CommonBundle\Menu; | |
use Knp\Menu\FactoryInterface; | |
use Symfony\Component\DependencyInjection\ContainerAware; | |
class Builder extends ContainerAware | |
{ | |
public function mainMenu(FactoryInterface $factory, array $options) |